3列+ 100%高度 [英] 3 columns + 100% height
问题描述
我需要与 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屋!