|
How do I avoid getting a line break when using <p> after a floated img?
I've got an image floated left, then my block of text. IE7 displays fine, as is usually the case, but standards compliant browsers such as FF insert a line break before the text so that it is lower than I want it to be, and therefore not in line with the image. (I've noticed that this line break sometimes gets inserted, but sometimes doesn't, and this can even depend on whether the paragraph element has a border or not, or whether it is inside another div!) Can anyone explain to me what is going on?
Chris
|