Home » » Changing Web Page Margins

Changing Web Page Margins

If you would like to change or remove your web page margins, you can change them by placing the following attributes within your <body> tag.

To change or remove the top, bottom and side page margins on a web page, place the following code within your <body> tag:


This code is compatible with both Internet Explorer and Netscape Navigator.

Internet Explorer supports:

topmargin=0
bottommargin=0
leftmargin=0
rightmargin=0

Netscape Navigator supports:

marginheight=0
marginwidth=0

Make sure you use them all to enable your web page to be properly viewed in both browsers.

<body topmargin=0 bottommargin=0 leftmargin=0 rightmargin=0 marginheight=0 marginwidth=0>
Share this article :

0 comments:

Post a Comment

 
Copyright © Online Business - All Rights Reserved
Proudly powered by Blogger