
February 7th, 2013, 02:06 PM
|
 |
Plays with fire
|
|
Join Date: Aug 2003
Location: Outside looking in
|
|
|
Two divs in harmony
Is it possible to force a div with a fixed height of 100px to the bottom of the screen and have a div above it change its height according to the browser?
I have the bottom:
Code:
#bottom {height: 100px; background-color: #f00; bottom: 0; position: absolute; width: 100%;}
I can have a div above it be 100% height with padding inside be 100px, but that seems wrong.
__________________
“Be ashamed to die until you have won some victory for humanity.” -- Horace Mann
"...all men are created equal." -- US Declaration of Independence
Last edited by Frank Grimes : February 7th, 2013 at 02:10 PM.
|