[thelist] [TIP] Solution: Zero body margin with CSS in NN4.x

Jay Blanchard jay.blanchard at niicommunications.com
Fri Mar 8 08:45:01 CST 2002


What does the negative number do in other browsers?

TIA!

Jay

-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of Erik Mattheis
Sent: Friday, March 08, 2002 4:47 AM
To: thelist at lists.evolt.org
Subject: Re: [thelist] [TIP] Solution: Zero body margin with CSS in
NN4.x


>To eliminate the need for invalid body attributes [leftmargin="0"
>topmargin="0" marginwidth="0" marginheight="0"] in HTML, the following CSS
>produces the same effect in Netscape 4.
>
>body {margin: -10px 0 0 -10px}

This worked for me in NS 4.x with any negative number:

body { margin: -10px}
--

__________________________________________
- Erik Mattheis

(612) 377 2272
http://goZz.com/

__________________________________________
--
For unsubscribe and other options, including
the Tip Harvester and archive of thelist go to:
http://lists.evolt.org Workers of the Web, evolt !






More information about the thelist mailing list