Guest liquidx Posted January 13, 2009 Report Share Posted January 13, 2009 See reproduction of the problem: http://www.coldink.net/temp/test.html (scroll down a bit to see the issue) When I set the html, body, and a div to be height 100% they are only 100% of the viewable area, they do not encompass the content within them. How can I fix this? The source is extremely simple, what am I doing wrong? Quote Link to comment Share on other sites More sharing options...
Bill Posted January 13, 2009 Report Share Posted January 13, 2009 You will need to use min-height: 100%; for standard compliant browsers to allow the div to expand. Then because IE6 doesn't understand min-height but treats height as min-height, feed it height: 100%; using a conditional comment or hack. Quote Link to comment Share on other sites More sharing options...
JBall Posted January 13, 2009 Report Share Posted January 13, 2009 ...and you should use an external style sheet as opposed to loading your head tag full of styles. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.