Previous Message
Next Message

<em> expands <div> in IE/PC

Sent by Nicholai Ronningen on 19 November 2003 21:09


Good afternoon,

This is probably a common bug that someone can just point me to a good
resource... (I googled to no avail.)

On the original page,

http://www.kanuga.org/conferences/2004/boc_backup.shtml

the main container div #top is expanding a few pixels (you can see the white
to the right of the main header graphic) to accommodate a few lines of <em>
text. (It seems that if you have text inside of an <em> tag that wraps from
one line to the next, IE/PC expands your div a few pixels to make room for
the slant.)

http://www.kanuga.org/conferences/2004/boc.shtml

I fixed the problem by setting #top's overflow to hidden.  Is there a better
way to fix the problem (to keep IE from expanding the div needlessly to
accommodate text that isn't actually overflowing)? Does anyone know of any
drawbacks to my solution? (My big concern is that overflow:hidden; is going
to result in important content being cut off.)

Thank you for your time and assistance,

Nicholai Ronningen
[EMAIL-REMOVED] 

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

Message thread: