W3C home > Mailing lists > Public > www-style@w3.org > April 2003

Re: Inline borders

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 18 Apr 2003 00:02:58 -0500
Message-ID: <3E9F8702.5060507@mit.edu>
To: Ernest Cline <ernestcline@mindspring.com>
CC: www-style@w3.org

Ernest Cline wrote:

>>Why doesn't adding a thick border to an inline element affect the height
>>of the line it is on? This causes the border to overlap the text.
> You're probably running afoul of a bug in IE.

Er... no.  The height of the line box does not depend on the borders or 
padding of the inlines inside it in the CSS2 box model.  See 

If I understand correctly, the question was "Why does the CSS2 box model 
stipulate this behavior?"

Received on Friday, 18 April 2003 01:03:03 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:07 UTC