- From: Chris Casciano <10sball@placenamehere.com>
- Date: Wed, 24 Oct 2001 13:48:06 -0400
- To: "'www-style@w3.org'" <www-style@w3.org>
on 10/24/01 1:09 PM, Peter Foti (PeterF) at PeterF@SystolicNetworks.com wrote: >> With small document (one that doesn't fill up the browser >> window) set a >> border of a few pixels on the body. This should show what >> you're dealing >> with. The *body* is as wide as the window, but only as tall >> as it needs to >> be. > > If that was the case, then if I was to apply a style to the body > element, and give it a background color, then I would only see the > background color on some of the page (for small documents), correct? > But this is not the case. Instead, the background color is applied to > the entire viewport. The body takes up the entire viewport (by > default). > I have thought about this before myself, but I have not looked at either the reccomendations or the browser implementations in detail on this point. I can say that in any borwser i have access to at the moment (moz, ie & opera on osx & win2k) the following page does both: http://placenamehere.com/temp/bodycheck.html It colors the whole page, as well as shows the border at the bottom or the content and not the viewport. I can also say, from past experience, that Opera 5/win implementation only recognizes javascript onclick/onmousedown events inside this content area. -- name://chris aka://10sball http://placenamehere.com
Received on Wednesday, 24 October 2001 13:44:14 UTC