Signup

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


Idocs Guide to HTML
back to <BODY TOPMARGIN="...">


Copyright 1997-2002 Idocs, Inc. Written by Miko Sullivan.

 




 
Cheap Web HostingBudget Web HostingEcommerce Web Hosting
Link to UsLink ExchangeAdvertisePrivacy PolicyTerms Of ServiceAbout UsContact UsSitemap
Copyright © 2006 - 2012 Broadband Media, Inc. All rights reserved.