WordPress.org

Support

Support » Themes and Templates » Adding clear:both within content Div

Adding clear:both within content Div

  • 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!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Adding clear:both within content Div’ is closed to new replies.