开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜