Previous Message
Next Message

I want space (pixels) at the bottom of my window!

Sent by Ahmad Kurdi on 2 July 2004 13:01


Joop Vos wrote:

>>
>>
>> Oops, slight mistake in my previous reply.
>>
>> Here's a correction:
>>
>>
>> html, body {
>>     position: relative;
>> }
>>
>> body {
>> /*current body rule*/
>> }
>> -- 
>>
>
> Sorry Ahmad, but it doesn't do the job!
>
> ______________________________________________________________________
> css-discuss [EMAIL-REMOVED]]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>
That teaches me to write things quickly without checking them first :-[  
.. Anyway, here you go... This one DOES work. I tested it out:

html
{
    position: relative;
    margin-bottom: 100px;
}


body
{
    background: #5f7575;
    margin: 0px;
    position: relative;
 
}

rest as before.....

You might want to read this article: 
http://www.stopdesign.com/articles/absolute/

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: