RobTaylor
asked on
IE4 IE5 NS4.5 NS4.0 Margin/Style Incompatiblity
I'm having a problem with the Margins/Styles for Netscape 4.5, 4.0, and Internet Explorer 4.0 and 5.0. The problem
is that I have a background graphic, and am trying to allign text and graphics up in a window with 0 border/margin. It seems IE 4.0 and 5.0 handle the Margin's differently. And Netscape 4.0 and 4.5 ignore it, but use Styles. But neither of the Netscapes start at a true (0,0) pexil origin. Is there a way to combat this problem short of Scripting a page to call up different HTML code for each browser?
is that I have a background graphic, and am trying to allign text and graphics up in a window with 0 border/margin. It seems IE 4.0 and 5.0 handle the Margin's differently. And Netscape 4.0 and 4.5 ignore it, but use Styles. But neither of the Netscapes start at a true (0,0) pexil origin. Is there a way to combat this problem short of Scripting a page to call up different HTML code for each browser?
<BODY MARGINTOP="0" MARGINLEFT="0" MARGINBOTTOM="0" MARGINRIGHT="0"> works in Netscape.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
body {
margin:0px 0px 0px 0px;
padding:0px 0px 0px 0px;
}
</style>
try that...