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?
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.

Carlos VillegasFull Stack .NET DeveloperCommented:
<body style="margin: 0px;">
feesuAuthor Commented:
This works across all browsers?
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.