Monday, December 28, 2009

How to remove browser padding?

If you're having problems with removing padding between your body and div tags especially when you're trying to add an image in your first div tag after opening the body tag. Then you should use the following code in your body tag.

<body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0">

 I'm sure there are other ways to make this fix but I found this one helpful for killing spaces between body tag and the first div(s).

Hope this helps you too.

1 comment:

  1. Thanks for sharing this useful post. Looking forward to see more posts from you.

    ReplyDelete

FORTNITE BATTLE ROYALE AND ARENA MATCHES

via IFTTT