Dusty
Dusty

Reputation: 1083

Height of the body part of my layout

I need a height problem looked at...

Here is a link to my page: http://www.whiterootmedia.com/database/test/relative.html

If you zoom all the way out, the #article div background will not go to the footer. How do I make the #article's height 100% minus the banner, nav, and footer given that the nav div will be a dynamic height.

I was trying to position:absolute the footer, but I don't think I can do the same to the banner and nav divs.

Upvotes: 0

Views: 33

Answers (2)

tom_means
tom_means

Reputation: 61

you can try min-height in CSS, is it important to scroll out ?

and don´t position it absolute !

Upvotes: 0

Horen
Horen

Reputation: 11382

Try the CSS Sticky Footer. It works cross browser and doesn't need any javascript.

Upvotes: 2

Related Questions