Previous Message
Next Message

Div mostly disappears when adding a span tag in IE7

Sent by Devon Miller on 6 December 2006 15:03


On 12/5/06, Mark Wheeler [EMAIL-REMOVED]> wrote:
> Hi,
>
> I have a problem in IE7. Believe it or not, IE6 is fine on this
> one. :) Here's the problem.
>
> I have a floated (right) div and then text on the left (not floated).
> I've surrounded the text in a single span tag (.names) so as to set
> everything in the text to italic. Works great except in IE7, where
> the floated div (#info_box - floated right) partially (mostly)
> disappears. I even tried to span each individual short line of text
> with italics and had the same problem. This makes no sense, and was
> the last think I expected. Any help would be greatly appreciated.
> here's the links.
>
> Site: http://ncp.tonedeafstudios.com/board_members.php
> CSS: http://ncp.tonedeafstudios.com/css/board_members.css

Now, I'll admit I'm not clear why this works, but adding:
        display: inline-block
to .names seems to do the trick.

dcm
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
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: