On Wed, Jul 20, 2011 at 6:53 AM, John <[email protected]> wrote: > > 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?
If the body height is set to 100%, it will be exactly the height of the inside of the browser window. However, it's content can be longer than that. Don't mistake the height of the inside of the browser window as the height of the content. Forget about the content. If your browser window is 1024x768, the inside of the browser window is 768px minus the height of the ui elements like toolbars, status bar, menus, etc. That scrollbar on the right lets you see more content by moving the content into the browser window. Think about it like a real life window... If you have a 1000-foot-high mountain outside your window, but you can only see 10 feet of it by looking through your window, that doesn't make your window 1000 feet high because there's more to see. In the same way as the mountain, the content can be bigger than the browser window, but that doesn't make the browser window bigger. > > What's more than 100%? The cumulative height of the content is (apparently) more than 100%. -- Ghodmode http://www.ghodmode.com/blog ______________________________________________________________________ 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/
