DIV doesn't expand when text is added?

Fireproofgfx

New Member
Hello there! I am having issues with a site I am designing. This is my first time actually using divs instead of using tables like I did in the past. Which I really like the ease of using Divs and I now understand why most choose to use divs instead.

Anyways, I am setting up this page to be updated using FreeCMS and I was checking to see if the background would auto expand when the Text goes below and I noticed it doesn't. So that is why I am posting this question. I would appreciate any help I can get!! Thank you!

You can see what I am talking about here and view the source code.
http://www.fireproofgfx.com/griffey/index1.php

I thought you just needed to put

position: relative;
height: 100%;
 

DHDdirect

New Member
Insert the css property overflow: auto; in the styles mainbgcolor and footer.

I also suggest some padding on the right of the content.. change maincenter style padding to this: padding: 1px 10px 10px 40px;
 
Last edited:

Fireproofgfx

New Member
Porty, I tried what you mentioned and it didn't work but I did what DHD said and it did. Thank you guys for taking the time to help me out!
 
Top