Solved

tiny margin in ns6.0

Posted on 2002-04-09
2
184 Views
Last Modified: 2010-04-09
i have given leftmargin and topmargin = 0 in my body tag. if works fine in ie6. in netscape 6.0 i still get a 3 px left margin and top margin. what do i do?
0
Comment
Question by:champs
2 Comments
 
LVL 14

Accepted Solution

by:
avner earned 50 total points
ID: 6928110
<BODY TOPMARGIN="0" LEFTMARGIN="0" style="padding:0px;margin:0px">
<TABLE BORDER="1" WIDTH="100%"  HEIGHT="100%" BGCOLOR="BLACK">
<TR>
     <TD>&nbsp; </TD>
</TR>
</TABLE>
</BODY>

The margin 0 style will do that.
0
 
LVL 19

Expert Comment

by:webwoman
ID: 6928194
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

Works for just about everything, from IE4/NN4 up.

IE wants the left/topmargin, NN wants the marginwidth/height.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

930 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now