• What I would like to do is to post an image in an entry which floats left and has some text on the right side of it. This text is supposed to be in a colored box.

    I tried several ways, e.g. putting the img and the text in <p> tags, putting the image in a div and the text in another div, and now I’ve put the image plus text in a <div> and just the text in a <p> tag inside the <div>. The surrounding div is only to keep WP from putting <p>s there (which would cause nested <p>s).

    The problem is always the same: WP inserts a <br /> between image and text, so the top of the image is not in line with the top of the text box. Link: http://www.alarmschrei.de/?p=213

    I have no idea where this <br /> is coming from. Any help would be appreciated!

The topic ‘WP inserts unwanted line break between block elements’ is closed to new replies.