Sent by al sparber on 8 October 2004 23:11
Bruno Fassino wrote:
>Hmmm, I'm probably missing something here, but I see that applying this any
><i> element is rendered as a block element by IE6/Win, which is not
>desirable: it cannot be used when you have, for example, an inline set of
>italicized words inside a not totally italicized paragraph.
>On the other hand, if you have a block element totally consisting of italic
>text, then this is exactly what is suggested in the article (except for the
>use of 'zoom' in place of 'height' to give layout, but I believe they are
>equivalent here...) Do you have an example where this works better?
>
>
>
If you have italic text within a block of normal text, then there will
be some spacing issues, although the text remains readable and the
layout doesn't break. But in that case you can use height insead of
zoom. However, you must set overflow to visible, inspite of the seeming
illogic. So for IE6:
overflow: visible;
height: 1em;
And the parent block should be in default alignment - not fully justified.
The fix for IE5 should remain as stated in my earlier post.
--
Al Sparber
______________________________________________________________________
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/