• How can I stop a left-aligned image breaking into the post below, when there isn’t enough text to wrap down past the bottom of the image. I’ve noticed it only does this in FF. Doesn’t seem to be a problem in IE.

Viewing 4 replies - 1 through 4 (of 4 total)
  • After I’ve finished writing the text, I just put in:

    <div class="clearer">& n b s p ;</div>

    (close up the spaces between “& n b s p ;” in order to make a non-breaking space)

    Just put this line in as many times as you need in order for the photo not to drop down into the next post.

    Works grand in Firefox for me.

    Thread Starter ronco

    (@ronco)

    Thanks croila, but I didn’t want to have to add code after every image I posted. Instead I added:

    <break clear="all">

    after <?php the_content(); ?> in my index file

    and that seems to have done the trick.

    The <break clear=”all”> didn’t work for me. Any idea on what’s causing this?

    bloodkin,

    Actually you might wanna try:
    <br clear=”all”/>

    Remember to change this in your archive.php page.

    This works in Firefox, Safari and Internet Explorer on OSX 10.4

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘image breaking into next post’ is closed to new replies.