Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML

Stretching content across full page. (Removing small white boarder?)

When I start a project, I always have a white padding (?) around the content on my web browser. Is this normal? The html tag takes up the entire width of my page, while the header, body, footer, etc have a small external spacing. The first tutorial I did has this white padding, but the Lake Tahoe tutorial does not. I don't remember if this was specifically addressed in the video.

Any tips would be appreciated!

2 Answers

This is normal browser behavior. There are pre-sets you can cancel out by linking in the css "normalize" file to your html. This file will give you a cleaner slate to start from. Do a quick google search on the css normalize file, copy and paste that in, and maybe read up a little on the concept while you're at it. Good luck!

Excellent, I do remember the normalize.css file now. I'll look into what rules this places on the browser.

I appreciate the reply!