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.

General Discussion

Nir Benita
PLUS
Nir Benita
Courses Plus Student 3,905 Points

Tile Background

I was wondering. Is repeating a textured png for the background of a site make it any easier on the bandwidth/loading speed than if I were to (For some odd reason) tile it manually?

3 Answers

It would affect bandwidth because if you tiled the pattern within the image the file size would be much larger.

Also, repeating the background in CSS will fill the entire background no matter what the browser view or screen size are. If you tried to do it manually, you wouldn't be able to handle all of these sizes. Not easily, anyway.

Nir Benita
PLUS
Nir Benita
Courses Plus Student 3,905 Points

I think I wasn't clear enough. I was asking if tiling the image with CSS is as resource heavy as just having the same amount of copies of that image?