View Single Post
Old 03-04-2009, 02:33 AM   #2 (permalink)
NoodlePowa
Pikachu's Flea Collar
 
NoodlePowa's Avatar
 
Join Date: Oct 2008
Location: California
Posts: 50
Reputation: 10
Default

By "stretch" I'm inferring you want to make the height fill the parent element. Or order to do so, most people would have tried:

height: 100%;

But that alone is not enough because if it has 100% height, what is it 100% of? In order to accomplish this task, you'll need to have a parent element with a set height. Essentially, you'll also need another "height: 100%;" (for example, your body) for your parent element. However, I was not able to see that you had provided a parent element for your "main" div.

If, however, I did not understand your question correctly, I apologize.
__________________
Scientia sapientiaque et veritas te liberabunt.
NoodlePowa is offline