Min-Height 100%?
I want to be able to have a container element which contains the content t开发者_StackOverflow社区o repeat and expand as the content goes on, but the container per se is in between two elements in which give heed of the container element "stopping" at some point.
You may view the design at:
http://www.noxinnovations.com/portfolio/charidimos/
What I want to do is have the container element which contains the content to be set at 100%. So no matter what it will always be correct in size without a set size.
Any ideas?
As long as you give the body a height:100%
, you can give your container a min-height:100%
and it will stretch. Without it's parent having a height (the body, in this case) it won't stretch.
精彩评论