Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Hey all,
    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 a h2 under that paragraph that tends to creep up and go on top of that image. How could I fix this?

Page in question here: http://darcrobotics.org/?page=20


share|improve this question
I would avoid using text shadow for body text, it looks awful. –  DisgruntledGoat Oct 1 '10 at 12:32

2 Answers 2

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

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

might be this can help you Fix for floating div

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.