The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

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