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

CSS

website size in pixels help

trying to make website, and i know everything except for how big the background should be in pixels, help please

1 Answer

By background I assume you mean the container or the wrapper for the website -

A good standard is 960px, using the 960 css grid. I use the One% responsive grid for a 1,000px width for my website.

EDIT I just saw your last thread, sorry. If you're making a background that repeats, you can have it set to any size as long as it looks seamless. The smaller you can do this, the better, as it will decrease web page loading time.

If you're making a static background, you need to know the size of your container, and where your container is, and design around that.

There's really no one answer for this as it revolves entirely around how you've made certain parts of your site.