theEclipse
Programmer
Hello all.
I am working on a layout and I want the paragraph that wraps around an image. No problem I think.....
welp,
that should do it, right? It does, in real browsers....but not IE6/WinXp. IE makes the paragraph wrap around the image just fine, but doesnt display the image....its just a big blank square.
aggervating to say the least. I have done some googling and found lots of ie css layout bugs and box model bugs and float bugs ect ect.....but of all the workarounds I have found to get around IEs faults, I cant seem to find something that works.
The only thing that I can do to get the image to display is set the display of the containing div to inline. this allows the image to display properly, but then the text is all funky.....
Any ideas?
Robert Carpenter
"You and I have need of the strongest spell that can be found to wake us from the evil enchantment of worldliness." - C.S. Lewis (The Weight of Glory)
robert (at) robertcarpenter (dot) net
I am working on a layout and I want the paragraph that wraps around an image. No problem I think.....
welp,
Code:
<div id="content">
<p><img src="..." style="float:left; margin-right:5px;">text text.......</p>
</div>
that should do it, right? It does, in real browsers....but not IE6/WinXp. IE makes the paragraph wrap around the image just fine, but doesnt display the image....its just a big blank square.
aggervating to say the least. I have done some googling and found lots of ie css layout bugs and box model bugs and float bugs ect ect.....but of all the workarounds I have found to get around IEs faults, I cant seem to find something that works.
The only thing that I can do to get the image to display is set the display of the containing div to inline. this allows the image to display properly, but then the text is all funky.....
Any ideas?
Robert Carpenter
"You and I have need of the strongest spell that can be found to wake us from the evil enchantment of worldliness." - C.S. Lewis (The Weight of Glory)
robert (at) robertcarpenter (dot) net