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 Quote Link to comment 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. Quote Link to comment 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" Quote Link to comment 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 Quote Link to comment 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. Quote Link to comment 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 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.