Hello,
I’m fairly new at this, and I’m guessing this might be a silly question, but I’ve been trying to convince both Firefox and IE 6 to show an image aligned to the right (float:right) with a caption underneath it and Firefox just doesn’t cooperate. I thought I had it covered by using the following:
<p style=”float:right;margin-left:10px;margin-bottom:10px;width=200px;”>
<i>
<img border=”0″ src=”image.jpg” width=”200″ height=”200″><br>
Boardwalk built to join two neighboring facilities in XXXXXXX snakes around
the native trees of the surrounding wetlands.</i></p>
You can see what’s happening in the attached images (pixelated, but it’s still viewable). IE wraps the text neatly under the image, but Firefox lets it run in a single line, no wrapping.
What can I do to make the caption text wrap in Firefox?
Thanks in advance!
Me ?
[upl-file uuid=ab022fcb-0751-427e-a3cd-799da03c1cef size=98kB]Sample CSS problem in Mozilla Firefox.gif
[upl-file uuid=07f56b45-c522-4505-a262-1cebb216d46a size=95kB]Sample CSS problem in IE6.gif