Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

tiny margin in ns6.0

Posted on 2002-04-09
2
Medium Priority
?
196 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 14

Accepted Solution

by:
avner earned 200 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…

610 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