Support » Themes and Templates » Content Overlaps on Floated Div

  • Resolved siaush


    I wrapped an image and it’s caption in a div tag and floated it to the left, as you can see in the screenshot, the contents overlapped the image. However it works fine when I floated it to the right. Is there anything I can do to fix it?

    Floated DIV to the Left

    Floated DIV to the Right

    Help is much appreciated.

    Thank you,

Viewing 3 replies - 1 through 3 (of 3 total)
  • Root


    Just increase the margin-left for the post.



    Resolved. Instead of doing that, I increased the margin-right for the floating div. Thanks for the help ^^



    Margins on floated elements can behave unpredictably. Try to get it checked on as many browsers as possible. Welcome & Good luck. 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Content Overlaps on Floated Div’ is closed to new replies.