Example of TOPMARGIN, LEFTMARGIN, MARGINHEIGHT and MARGINWIDTH attributes for <BODY ...>
This page is an example of
TOPMARGIN
,
LEFTMARGIN
,
MARGINHEIGHT
and
MARGINWIDTH
.
If your browser recognizes these attributes (Microsoft Internet Explorer recognizes TOPMARGIN
and LEFTMARGIN
,
Netscape recognizes MARGINHEIGHT
and
MARGINWIDTH
) then the text is scrunched up right against the top and left sides of the window. The <BODY ...>
tag used to create this not-particularly-pleasant effect is this:
<BODY TOPMARGIN=0 LEFTMARGIN=0 MARGINHEIGHT=0 MARGINWIDTH=0>
Don't confuse the use of
MARGINHEIGHT
and MARGINWIDTH
in <BODY ...>
with their uses in
frames. When you use frames, put MARGINHEIGHT
and MARGINWIDTH
in the <FRAME ...>
tag,
not in <BODY ...>
.
back to <BODY TOPMARGIN="...">