Solved

tiny margin in ns6.0

Posted on 2002-04-09
2
192 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 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
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.…

696 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