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.
|