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.

Comments

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

    ReplyDelete

Post a Comment

Popular posts from this blog

Why is Sachin Tendulkar not the best batsman in the world?

The Legend of Zelda: Breath Of The Wild – What Is Hinox?