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 ...>.


HTML Tutorials back to <BODY TOPMARGIN="...">



Recommended Resources

web hosting tutorials
Credit Help
Search the Internet
Search Engine Help
Low Fat Lifestyle
Internet Traffic
Web Hosting
Web Design

Discount Hotel Reservations

Search The Internet


Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.
About the author

All Rights Reserved, Copyright © Free-HTML-Tutorials.com 2003
A service of 1stHostWeb.com