Previous Message
Next Message

Border on inline element in last block in IEWin 6

Sent by Dennis Bixler on 2 September 2005 20:08


I think that has to do with the lower-case characters that have sections
protruding below the baseline of the text, like p and g. IE doesn't
extend the containing below the baseline but the box around the text
does, therefore causing the disappearing bottom border. "p" elements
normally have padding below so it doesn't show up under normal
conditions.

I guess your solution of the padding is probably the only one, either
that or don't use any of the offending letters :). Perhaps someone has a
better solution.

Dennis Bixler

-----Original Message-----
From: Ellen Herzfeld [EMAIL-REMOVED]] 

I encountered an anomaly I hadn't seen before in 
Internet Explorer 6: the bottom border on an 
inline element disappears in the last block on 
the page. Adding a 1px bottom padding fixes the 
problem.

In IE5.5, strangely, there is no problem. In IE5 
no problem either, because no border :-)

If you want to check it out (only in Internet Explorer 6):
http://ansible.xlii.org/web_design/CSS/border-bottom/inline-element-bord
er-bottom1.html

I tried to find this documented and maybe 
explained somewhere but couldn't. Can anyone give 
me a pointer?

Thanks,

Ellen


______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Possibly related: