Hi folks,
I'm sure I've come across this problem before and managed to fix it, but
I can't for the hell of me think how I did it!
The problem:
I have floated images that are quite close to each other in the source
code and when the window is wide enough they start to cascade, so I
added in "clear: right;" to the CSS for the floated images and this
causes the images to stack one above the other with the text flowing
nicely around them (http://dylanparry.com/usenet/firefox.png).
Now this is all well and good in Firefox and Opera 8, but when I open it
in IE the paragraphs of text are also clearing the floated images, which
is obviously wrong (http://dylanparry.com/usenet/explorer.png).
The CSS for the floats is:
div.image {
float: right;
clear: right;
margin-bottom: 1em;
margin-left: 1em;
}
Any ideas what is going on here, and how I can stop it from happening?
Cheers,