3列+ 100%高度 [英] 3 columns + 100% height

查看:113
本文介绍了3列+ 100%高度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要与 http://blog.html.it/layoutgala/LayoutGala19中的相同。 html ,但每列的高度应为100%,整页的高度应为100%。任何人都可以提供帮助吗?

I need same as in the http://blog.html.it/layoutgala/LayoutGala19.html but height of each column should be 100% and height of whole page should be min 100%. Can anybody help?

推荐答案

您应该看看以下问题:如何让多个列使用twitter引导消耗100%高度?

You should probably look at the question: How to have multiple columns that consume 100% height using twitter bootstrap?

他们提到了链接(你可以在这里看到源代码),我认为你正在寻找。您必须为< html> < body>设置 height:100% ,然后,容器应该有一个最小高度:100%

They mention this link (and you can see the source code here) that I think is what you are looking for. You have to set height: 100% for <html> and <body>, and then, the container should have a min-height: 100%

这篇关于3列+ 100%高度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆