PDA

View Full Version : div not resizing with content


richcodesign
01-06-2010, 01:58 PM
Hello,

I have a "main content" div that contains some text and two class divs inside it.
The text expands the "main content" div as it should but the div classes dont!

Please visit this link to see what i mean.

http://www.oakislandharbor.com/test.php

I look forward to your help and comments
Tamara.

Corrosive
01-06-2010, 03:23 PM
You need to clear the floated divs. Try adding;

overflow: hidden;
height: 1%;

to your main content styles.