CLIENT
PLATFORM

CLIENT
BROWSER

DEFAULT
MARGIN
(X,Y)

MINIMUM BODY
MARGIN (X,Y)
SET IN <BODY>

MINIMUM FRAME
MARGIN (X,Y)
SET IN <FRAME SRC>

Mac

IE3

8,8

0,0

0,0

Mac

IE4

8,8

0,0

0,0

Mac

NN2&3

8,8

N/A

1,1

Mac

NN4

8,8

0,0

1,1

Win

IE3

10,16

0,0

0,0

Win

IE4

10,15

0,0

0,0

Win

NN2&3

10,15

N/A

1,1

Win

NN4

8,8

0,0

1,1

For NN's minimum body margin, "N/A" means that the body margin is fixed and can not be changed (ugh!).

Microsoft introduced adjustable margins in IE3. To set the body margins in IE3 (or greater), use the LEFTMARGIN and RIGHTMARGIN attributes of the BODY tag; note that IE also provides RIGHTMARGIN and BOTTOMMARGIN attributes, although these are rarely used. To set the margins of frame windows in the frameset definition, use the MARGINWIDTH and MARGINHEIGHT attributes. IE allows you to set your all margins down to zero in both the body and the frameset.

Netscape started supporting adjustable margins in NN4, but chose not to support Microsoft's BODY attributes. To set the body margins in NN4, use the MARGINWIDTH and MARGINHEIGHT attributes; they can be set down to zero. However, even in NN4, the frameset margins can only be set down to 1,1. This "feature" can be overcome by setting the BODY tag MARGINWIDTH and MARGINHEIGHT attributes in the frameset-loaded page to zero; this will override any margin settings in the frameset definition.