Solved

tiny margin in ns6.0

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
jquery not selector with class selector 3 31
css, html 6 31
JQuery & CSS Tab Issues 7 29
Bootstrap Datable Spinner 3 33
Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
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 …

747 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

11 Experts available now in Live!

Get 1:1 Help Now