?
Solved

tiny margin in ns6.0

Posted on 2002-04-09
2
Medium Priority
?
194 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

Are You Using the Best Web Development Editor?

The worlds of web hosting and web development are constantly evolving. Every year we see design trends change, coding standards adapt and new frameworks/CMS created. With such a quick pace of change it’s easy to get lost trying to keep up.

See if your editor made the list.

Question has a verified solution.

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

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
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 embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Suggested Courses

752 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