View Full Version : What is wrong with my height 100%

11-05-2009, 01:37 AM
hey guys,
I'm confused with my css code to made the height of a div with id="content_wrap" to be 100%. I follow the instruction on making all the parents min-height to be 100% but still, my page wont stretch all the way to the bottom of the screen.
also i had to add overflow:auto for that div's background to be displayed in firefox. what is my error?

here is the link to the page in question:

-thanks in advance

11-05-2009, 02:21 AM
Hello armen,
Try a little less min-height ...
This might be a start, I'm sure it will need some more tweaking:
* {
margin: 0;
padding: 0;


html {
height: 100%;

body {
background-color: #44361e;
height: 100%;

#wrap {
height: 100%;

background-color: #e8d9ad;
position: rel

I have a demo of a good full-height solution here (http://nopeople.com/CSS/full-height-layout/index.html), help yourself if you like it and want to use it.