Sent by Ingo Chao on 19 November 2007 16:04
Robert James wrote:
> ...
>> I'd like to position an element at the bottom of the screen. This is
>> easy, using position: fixed and bottom: ...px.
>>
>> However, on screens higher than 600px, I'd like to fix it at 600px from
>> the top. That is, if the screen is shorter than 600px, push it to the
>> bottom of the screebn otherwise, push it down to 600px. Is there anyway to
>> do this?
>>
>> Thank you.
I fear this is impossible in CSS.
(Actually, I don't know if that is true. I just figured out that
whenever someone says it is impossible, someone else will jump onto the
wagon to provide a solution.)
A preceeding floating 1px-spacer element with an height of 100% of
body/html, having a max-height of 600px? A footer that clears this
floating spacer?
No idea, but basically this should be not that difficult to solve in
JavaScript.
Ingo
--
http://www.satzansatz.de/css.html
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/