Title: Adding clear:both within content Div
Last modified: August 19, 2016

---

# Adding clear:both within content Div

 *  [Courage](https://wordpress.org/support/users/courage/)
 * (@courage)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/adding-clearboth-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](http://www.buckmcgrane.com)
 * Thank you!

Viewing 1 replies (of 1 total)

 *  [Arnold Goodway](https://wordpress.org/support/users/arnoldgoodway/)
 * (@arnoldgoodway)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/adding-clearboth-within-content-div/#post-1242662)
 * Tried taking a look but your URL goes nowhere.

Viewing 1 replies (of 1 total)

The topic ‘Adding clear:both within content Div’ is closed to new replies.

## Tags

 * [Both](https://wordpress.org/support/topic-tag/both/)
 * [css](https://wordpress.org/support/topic-tag/css/)
 * [div](https://wordpress.org/support/topic-tag/div/)

 * 1 reply
 * 2 participants
 * Last reply from: [Arnold Goodway](https://wordpress.org/support/users/arnoldgoodway/)
 * Last activity: [16 years, 8 months ago](https://wordpress.org/support/topic/adding-clearboth-within-content-div/#post-1242662)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
