Allyria
09-05-2008, 05:32 PM
I cannot get one of my divs to expand vertically with content, the content just overflows.
My layout has a left-floated sidebar div and a right-floated content div, followed by a footer. The content div expands downwards perfectly when there is a lot of text inside it. However if the content div has less text/images than the sidebar div, the footer starts at the end of the content div, causing the text/images of the sidebar to overflow.
This can be seen on the page here:
http://victoriacooper.co.uk/draft2/link2.html
The other pages just have filler text, but if you click around you'll see how it's supposed to look.
I've tried setting the min-height of the sidebar, tried going through overflow options and browed the forums but to no avail.
Any help would be appreciated.
Thanks, Ally
My layout has a left-floated sidebar div and a right-floated content div, followed by a footer. The content div expands downwards perfectly when there is a lot of text inside it. However if the content div has less text/images than the sidebar div, the footer starts at the end of the content div, causing the text/images of the sidebar to overflow.
This can be seen on the page here:
http://victoriacooper.co.uk/draft2/link2.html
The other pages just have filler text, but if you click around you'll see how it's supposed to look.
I've tried setting the min-height of the sidebar, tried going through overflow options and browed the forums but to no avail.
Any help would be appreciated.
Thanks, Ally