Can't get div to 100% height?

Posted by James on Stack Overflow See other posts from Stack Overflow or by James
Published on 2012-09-13T03:13:50Z Indexed on 2012/09/13 3:39 UTC
Read the original article Hit count: 160

Filed under:
|

I'm not entirely sure what I'm doing wrong, and I can't figure out how to Google it because a common mistake is very prevalent. I have the parent's height explicitly set, but I can't get #main-sub-content 's height to 100%.

Here's the page: http://coloryourspot.vadremix.com/

And the corresponding CSS: http://coloryourspot.vadremix.com/styles/primary/main.css

Can anyone spot the issue?

Solved: The problem was the parent element had height:auto!important;

© Stack Overflow or respective owner

Related posts about html

Related posts about css