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

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?