Layout extending when more info is put in CSS problem

Associate
Joined
29 Aug 2004
Posts
31
Ok i am trying to make a layout in which i enter a long blog for explain the background container extends to fit it.

I have been trying stuff like 100% height and it aint working also tried overflow command.

#main {
margin-left: auto;
margin-right: auto;
min-height:1000px;
overflow:visible;
width:800px;
background-color:#4c4c4c;
border-right:#f0f8e6 2px solid;
border-left:#f0f8e6 2px solid;
text-align: left;
}

any help would be great

chris
 
Ain't done any css for ages, but try setting the min height and width to a percentage. I'm not entity sure min-height is even supported on MSIE. Try googling fluid layouts/boxes etc.
 
Back
Top Bottom