Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.