On Jul 13, 2011, at 10:48 PM, Philippe Wittenbergh wrote:

On Jul 14, 2011, at 4:42 AM, John wrote:

1. Why does the center area not go to the bottom? I put in height: 100%; for both the body of the document and for that center area.

If the idea is that div.livebar stretches from top to bottom of the /document/, then you have to declare a min-height on the root element; then a height:100% on the body element will be as tall as the document (as opposed to being the height of the viewport, as it presently is as noted already).

Except for absolute positioned elements, a %-based height can only be computed based on a ‘known’ (specified) height.

read a bit in CSS 2.1 chapter 10 - specifically 10.5 and 10.6.3
http://www.w3.org/TR/CSS21/visudet.html#the-height-property
http://www.w3.org/TR/CSS21/visudet.html#normal-block


After reading this email and the links suggested, something isn't adding up in my head. I think I get what's being said, I think I've typed the right code, but I don't see the right behavior.

If I'm getting inheritence, then the body is the mama of all inside it, including my center column. if both mama and center column have height: 100%; and if that's relative to the inner browser window, then I ought to see that center column extend to the bottom of the window no matter how tall or short my browser window is, right?

What's more than 100%?

It looks like something else is influencing the behavior of this code. But I swear I don't see what it is...any clues?

thanks!

John
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to