All Posts by Email, Once a Week

Media Temple logo

CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.

CSS sprites & Stretching image

  • # August 20, 2009 at 3:23 pm


    I would like to use css sprites on my site but have a problem. How can i repeat one certain image inside master sprite image, so that its applied to the entire column.


    # August 21, 2009 at 8:50 am

    Don’t know if i’m understanding your question but is this what you were looking for?

    div.className {background:#FFFFFF url(image.gif) top left;}

    A background should allready repeat by itself.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed