Setting Marginheight, Topmargin, etc. in Body depreciated.

As I was working on setting up a new site today, I took a look at the error checking that Dreamweaver does and found that the Marginheight, Marginwigth, Topmargin, Leftmargin properties were depreceated. Curious as to what the proper replacement should be, this is the solution.

Body{

Magin:0px;

Padding:0px;

}

The Body selector needs to have the margin and padding properties defined in it. Margin is generally for Mozilla browsers and padding for IE.

Here are some similar arcade posts
Print This Post Print This Post

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Comments

No comments yet.

Leave a comment

(required)

(required)