I'm having a really frustrating time with this. I'm simply trying to add a small image to the text body of a node. I'm using image_assist and when I create the style:

span.inline { /* all pics go to the right of the main text */
       float: right;
}

It does what I expect in most browsers, but in IE on Windoze, it doesn't show up at all! Can anyone help me with this? (god, i hate IE). Thanks!

Comments

rajmataj’s picture

Ok, after way too long searching and testing, the problem was this:

although the style was for the image to float right, it MUST have a position: relative; declaration. So,

span.right { /* all pics go to the right of the main text */
       float: right;
       margin: 5px 0px 5px 5px;
       position: relative;
}

Once I added in this simple attribute, it showed up in Explorer. Gawdang! Hope this helps someone else.

primalmedia’s picture

It's like Einstein said, It's all relative.

PAAHCweb’s picture

...due to the way IE handles floats. I had problems with both text and image disappearing. Used the Holly hack and haven't had trouble since. It works for IE6. Hope it solves your problem too.

Here's an article:
http://www.communitymx.com/content/article.cfm?page=2&cid=C37E0

D. Lynn

EDIT, after reading your second post: I found the above solution after trying the position:relative hack. It caused other problems in my theme (Sands). -L.