Why won't my 100% height div stretch to 100% of parent? Not a float
问题 http://thestleonardsacademy.org/stlan/extracurricular.php The body and html are 100%, the #content container is 100%, but the child #newstiles won't match the 100% height that I set. I can set a fixed height, which increases it beyond the auto height that it currently seems to use, but 100% does nothing. I must be going mad, or missing something very obvious! 回答1: Try to add height: 100%; to your #content style. You only defined max-height and min-height. 回答2: Try to set the position to