W3C home > Mailing lists > Public > www-style@w3.org > January 1998

Re: MSIE 4.0 and element boxes

From: Eric A. Meyer <emeyer@sr71.lit.cwru.edu>
Date: Wed, 7 Jan 1998 09:27:35 -0500
Message-Id: <v03102800b0d9401b8cc9@[129.22.138.152]>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:54 GMT