0
votes

I'm having some trouble getting a float right on my website. I'm floating an image over to the right, and the text on the left wraps around the image... as long as the browser isn't too wide. I have an <h2> under that paragraph that tends to creep up and go on top of that image.

  • I would avoid using text shadow for body text, it looks awful. – DisgruntledGoat Oct 1 '10 at 12:32
3
votes

Try adding clear:right; to the CSS rules for your h2. That should do it.

  • 1
    Or, clear:both to handle the case where an image is floated to the left. – DisgruntledGoat Oct 1 '10 at 12:34