- From: Eric A. Meyer <emeyer@sr71.lit.cwru.edu>
- Date: Wed, 7 Jan 1998 09:27:35 -0500
- To: www-style@w3.org
>What you're missing is that a block element must fill the width of its >parent. In the case of your example, that's the width of the browser window >minus the left and right margins on BODY. Doh! Of course. What the hell was I thinking? Mea culpa, mea culpa, mea maxima culpa. (Which, as translated by Jeff MacNelly, means "Somebody stole my Nissan.") >> Editor, WebReview's Style Sheets Reference Guide > >Uh oh. That's scary. Scary because someone let the press in here, or scary because I made a mistake? >Have you ever looked at the test pages at > > http://www.w3.org/Style/CSS/Test/ > >? Yes, actually. >Check out the 'box' page. Note, however, that the text incorrectly says >there should be a 2-pixel border around the paragraphs. Although a >border-width has been declared, a border-style has not, therefore the >border-style defaults to 'none', and it appears to me that IE4.01 is >rendering this page correctly, or very close to it. I would agree, now that you've reminded me of how element boxes really work. Thanks! -- Eric A. Meyer - eam3@po.cwru.edu - http://www.cwru.edu/home/eam3.html Editor, WebReview's Style Sheets Reference Guide http://style.webreview.com/
Received on Wednesday, 7 January 1998 09:33:22 UTC