![]() |
||||||||||
|
||||||||||
|
|
Margins Flush With Edges of BrowserThis page is a basic reference on how to make your web page margins flush with the edges of the browser. Using Style Sheets: <body style="margin: 0px">
For Netscape: <body topmargin="0" leftmargin="0">
For Internet Explorer <body marginwidth="0" marginheight="0">
Almost Guaranteed to work (All-of-the-Above) <body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" style="margin: 0px">
If anyone really cares about earlier versions, the above does not work for Netscape 3.x and below. You cannot set the outer margins for those older Netscape browsers. I believe, but can not test, that the IE 3.x does allow the margins to be set using the above code.
|
| © 1997-2008. astonishinc.com All Rights Reserved. |