AV1611 Posted March 5, 2009 Share Posted March 5, 2009 Can someone explain to me why this main div isn't dynamically expanding with content? I have html, body, & div set to height: 100% and tried min-height: 100% on the div. All the css is in the index.html file. Thanks. http://design.blmservices.com/nwts/index.html Link to comment https://forums.phpfreaks.com/topic/148137-100-height/ Share on other sites More sharing options...
jackpf Posted March 5, 2009 Share Posted March 5, 2009 Hey, I just messed around with your page a bit- If you take out the 100% in html{} it works fine. Link to comment https://forums.phpfreaks.com/topic/148137-100-height/#findComment-777609 Share on other sites More sharing options...
AV1611 Posted March 5, 2009 Author Share Posted March 5, 2009 True, but then that creates another problem. This page doesn't fill 100% if you remove the content from it. (I removed all teh test lines and now the page is "short" Link to comment https://forums.phpfreaks.com/topic/148137-100-height/#findComment-777610 Share on other sites More sharing options...
jackpf Posted March 5, 2009 Share Posted March 5, 2009 yeah...I had a problem with this- and still do tbh. Idk tbh. If you ever find out, let me know Link to comment https://forums.phpfreaks.com/topic/148137-100-height/#findComment-777617 Share on other sites More sharing options...
AV1611 Posted March 5, 2009 Author Share Posted March 5, 2009 I gave up. Look at the link now, it's working, but I got the answer from another site. Link to comment https://forums.phpfreaks.com/topic/148137-100-height/#findComment-777618 Share on other sites More sharing options...
jackpf Posted March 5, 2009 Share Posted March 5, 2009 Oh yeah... It works, but I dont know why it works... I tried it with my site, and it doesn't work. How mysterious. Anyway, well done Link to comment https://forums.phpfreaks.com/topic/148137-100-height/#findComment-777625 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.