Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

error in setting margin to compatible with Netscape

Status
Not open for further replies.

quinbe

Programmer
Joined
Dec 30, 2004
Messages
62
Location
US
Hi all,
I'm having this problem since I try to view my webpage in Netscape browser. Can anyone explain why it gave me errors while it working fine in Internet explorer. Is there any way to write the code correctly so my page should look the same in both browers?

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"[URL unfurl="true"]http://www.w3.org/TR/html4/loose.dtd">[/URL]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>

<body bgcolor="#FFFFFF" style="margin-bottom: 0px; margin-left: 0px; margin-top: 0px">
</body>
</html>
[code]

Thanks in advance


---Quin
 
how about this:
<body bgcolor="#FFFFFF" topmargin=0 leftmargin=0 marginheight=0 marginwidth=0>


Known is handfull, Unknown is worldfull
 
THANKS SO MUCH, Vbkris
IT WORKS GREAT!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top