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

Posted on 2011-04-26
Last Modified: 2012-05-11
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?
Question by:feesu
    LVL 17

    Expert Comment

    by:Carlos Villegas
    <body style="margin: 0px;">

    Author Comment

    This works across all browsers?
    LVL 17

    Accepted Solution

    Yes, it is a standard level 1 cascading style sheet attribute, and I can guarantee that all browser will honor it.


    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    Suggested Solutions

    Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
    Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
    The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
    The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

    754 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

    21 Experts available now in Live!

    Get 1:1 Help Now