Sigurd Lerstad wrote: > > The <body> element gets the width of the window (width is auto) even if > there's a non-wrapping line that is wider than the window. The <html> > element correctly? gets a width to encompass all of the children so it adds > a horizontal scrollbar. I can see that this is open to discussion, but I > would have expected that when width is auto on the body element, it would > try to get as wide as the widest child, instead of letting children overflow > to the right. IE does this. (Assuming it has display: block,) the <body> element behaves just like any other block. So, it lets wider children overflow its boundaries, just like any other block. ~fantasaiReceived on Saturday, 13 September 2003 12:18:20 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:23 GMT