ASP.NET - <body topmargin="0px;"... Doesn't work with Firefox

Hi Experts,

In my default.aspx page, I have the following wihich doesn't work with Firefox, works only with IE:

<body topmargin="0px;" bottommargin="0px;" leftmargin="0px;" rightmargin="0px;">
 
What do I use to ensure that it works across all browsers?
feesuAsked:
Who is Participating?
 
Carlos VillegasFull Stack .NET DeveloperCommented:
Yes, it is a standard level 1 cascading style sheet attribute, and I can guarantee that all browser will honor it.

Reference:
http://www.w3.org/TR/CSS1/#margin
0
 
Carlos VillegasFull Stack .NET DeveloperCommented:
This:
<body style="margin: 0px;">
0
 
feesuAuthor Commented:
This works across all browsers?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.