Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Design IMG & Sprites – using clip with negative margins? Reply To: IMG & Sprites – using clip with negative margins?

#147593
Paulie_D
Member

You can use just one css sprite image for everything instead of several single ones which should have positive influence on page loading speed (just one HTTP request).

Sprites are used as bg images and then moved using the bg position property so perhaps it’s 50/50.

The main point is to be able to use CSS sprites for all images to reduce HTTP requests.

I don’t get it…this would make no difference whether you do it your way or using a bg image sprite.

If an image is content then by all means use the image tag…if it’s not then a bg image (sprite or not) is the way to go.