Re: Inline borders

Michael Day 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. IE 5 incorrectly 
considered the border and padding to be part of the width and height of 
a box.  IE6 can work correctly but it chooses whether to support the 
buggy behavior or the correct behavior based on the DOCTYPE of the 
explains how IE6 makes it decision.

Received on Friday, 18 April 2003 00:26:44 UTC