WordPress.org

Ready to get started?Download WordPress

Forums

Adding clear:both within content Div (2 posts)

  1. Courage
    Member
    Posted 4 years ago #

    Hello, I'm new the forums but had a quick question about clearing floating divs within the content so my post backgrounds stretch the height of the whole post.

    Currently I have an image in each post that has the propety align-left, and within the CSS, all things aligned left will also float left. I thought this would make my post background stretch and prevent the floating image from overlapping the post. Is there a way to have clear:both added automatically within the content div so that it need not be added within each individual post?

    An example of my current wordpress is...
    http://www.buckmcgrane.com

    Thank you!

  2. Arnold Goodway
    Member
    Posted 4 years ago #

    Tried taking a look but your URL goes nowhere.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags