Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Formatting margins

Status
Not open for further replies.

ChrisMacPherson

Programmer
Jul 3, 2000
157
GB
How do you format the margins on a page. I have tried using css and this works for IE5,NS6 but not for NS4.7.

How can I get this to work in NS 4.7 ?

I want to have no margins, i.e.

body { margin-left:0; margin-right:0; margin-top:0 }

thanks for any help...
Chris MacPherson
thedamager@hotmail.com
Bring on the new Browza's!!

Learn/t/ing D\HTML, Javascript, Java, VB5-6, COBOL, Pascal
 
you can put

marginwidth="num" and marginheight="num" in your body tag for ns adam@aauser.com
 
this line should handle IE and NS4.x:

<body leftmargin=&quot;0&quot; topmargin=&quot;0&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot;> jared@aauser.com
 
Yes, jaredn, it works. Seems to be Standard HTML.
But we talked about already: fixed pixel width overrides right setting
and fixed height the bottom setting.
G.Hoffmann
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top