Stretching container div tags

kachina_music

New Member
Hi everyone,

first off I've read loads of threads on this problem but none of the solutions seem to work for me!

I typically have a main container <div> that contains many other <div> tags on the page.

The main pageContainer doesn't seem to want to stretch (height) to fit all the internal content. There has to be a simple solution!

the css:
Code:
#pageContainer {
	position:absolute;
	left:50%;
	top:0px;
	width:950px;
	padding: 0px;
	margin: 0px;
	margin-left: -475px;
	background-color: #F0F0F0;
	border: 1px solid #000000;
	height:auto; /*this isn't working*/
}

Thanks!
 

adx

New Member
Have you put any actual text content in the cells? I think it's a thing that happens when you float the internal cells and it won't stretch unless you have a footnote of some kind. I've seen this many times but it always seems to resolve itself. You also don't need a height value for the main container.
 
Top