Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Side bar and footer

Status
Not open for further replies.

jshurst

Programmer
Oct 27, 2004
1,158
US
I am having a problem with these. Let's say I have a left div that I want to extend all the way down the page (no matter how long it is). I would like a footer to be at the bottom of the page no matter how long it is. Everytime I put "height: 100%" it seems to only extend to the visible screen size. Also with "bottom: 0px" it seems once again to go with what is displaying on the screen. Maybe I am missing a fundamental idea of CSS here, but can someone explain this to me?

Thanks.
 
the fundamental of css that you are missing is that in order for height: 100% to operate as you want it to, the element must be inside a parent element with a static (set) height.

*cLFlaVA
----------------------------
[tt]your mom goes to college[/tt]
[URL unfurl="true"]http://www.coryarthus.com/[/url]
[banghead]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top