View Full Version : Margin Help for NN
11-15-2002, 03:33 PM
I'm having trouble remembering how to set up margins for a site to be viewed in Netscape 4.x
I know that it's things like "topmargin" and "leftmargin" for IE, but it's worded differently for Netscape.
11-15-2002, 04:02 PM
for most browsers other than ie use marginheight & marginwidth
so if your trying to eliminate margins you would use something like this:
<body leftmargin="0" topmargin="0" marginheight="0" margin width="0">
im not 100% sure that the css alternative will work in nn4.x but here it is anyways:
<body style="padding: 0; margin: 0;">
11-15-2002, 04:34 PM
> > im not 100% sure that the css alternative will work in nn4.x but here it is anyways:
<body style="padding:0; margin:0;">
The CSS alternative won't work in NN4.
11-16-2002, 01:06 AM
er, just to be clear:
you can set margins in NS4 via styles, but implementation can be problematic, espesh w/ right and bottom margins...
What NS4 won't do via styles is reduce the body margins below its internal defaults of 8x8 pixels: it adds these values to whatever values you specify.
Also insists you specify the unit (px), iirc...
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.