White Space Around Body
One of the biggest frustrations for me when I first started out was the fast that I could not get rid of the "blank space" that surrounded the body of my website. It never dawned on me until much later that there might be margin space or padding that is added by default. So, if you're just starting out and are really new to HTML and CSS, always make sure to add this to your style section:
body {
margin: 0;
padding; 0;
}
Now that I've been at is a while, it seems really silly, but no one ever said it to me so I didn't know!
Written by Alex LaFroscia
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Css
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#