Text Links Ads : Marketing Tips Store : Search Engine Optimization Strategies
WebPosition Gold Pro : Domain Registration Bank : Optilink Software : GoDefy
Mike's Marketing Tools : Mike's Ecommerce Software : Text Links Guide
 
Web HTML-HTML.com
You are here: HTML Codes > Document Tags > <BODY ...>

Attributes for <BODY ...>
TOPMARGIN
LEFTMARGIN =integer
MARGINHEIGHT
MARGINWIDTH

Usage Recommendation
Use it, but don't rely on it.

TOPMARGIN and LEFTMARGIN establish margins in MSIE. MARGINHEIGHT and MARGINWIDTH establish margins in Netscape. If you feel that you just have to have that extra half inch, these attributes can give it to you. These MSIE and Netscape extensions are mutually compatible: you can use all of them to catch both of those browsers.

This body tag:

<BODY TOPMARGIN=0 LEFTMARGIN=0 MARGINHEIGHT=0 MARGINWIDTH=0>

helps create zero (actually almost zero) margins in this page.

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

illustration of LEFTMARGIN and TOPMARGIN

illustration of MARGINHEIGHT and MARGINWIDTH

<BODY onLoad="..."> >>>

Copyright © 2002-8 Art Dacor USA LLC. All Rights Reserved.
3727 West Magnolia Blvd #489, Burbank, CA, 91505, USA.
www.HTML-HTML.com