Previous Message
Next Message

IE 6 and italics + line wrapping display troubles.

Sent by Bruno Fassino on 19 November 2004 18:06


dave bellous wrote:

> Wrapping italicized text is not properly calculated with IE 6.029?
[...]
>
> The text is italicized, Times New Roman and 1em tall.  The parent
> container has CSS that sets the font size to 76%,  so 1em in this
> instance is picking up the parent sizing, making it 0.76em.
>
> At certain character lengths, such as the length of the third sentence in
> the linked instance the whole content  block wraps below:
> http://www.procoro.ab.ca/index_d.php

This is a bug in IE/Win: in presence of italics text it renders (sometimes)
paragraphs and other containers wider than the correct width. Read more here
[1].
In your case the simplest fix is to add this (apparently redundant ;)
declaration:
 #content { overflow: visible; }
This will fix IE5.5 and IE6. If you need to fix IE5.0 as well, then things
are a bit more complex, read the details in that article.

hth,
Bruno

[1] <http://www.positioniseverything.net/explorer/italicbug-ie.html>

______________________________________________________________________
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

Message thread:

Possibly related: