Jump to content

[SOLVED] like clear but not (or maybe it is)


Lodius2000

Recommended Posts

so my markup is like this

 

<div class="entry">

<h2>title</h2>

<p><img class="floatright" scr="this image is a thumnail floated right">Some text goes here</p>

</div>

 

my problem is that if "some text goes here" is not long enough to cover the height of the thumbnail, the thumbnail will overlap into the next entry can cause any text (usually my h2) to wrap around the floated image on my blog. I thought that giving the entry class a clear: both attribute would solve this but to no avail. as it is, I am forced to think of more and more stuff to write just so that I can get past the length of my thumbnail. what can i do to make the bottom of that image, or the bottom of the text, whichever is longer, the actual bottom of the div box

 

thanks in advance

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.