print css hack for background images

Thank you Jesper Rønn-Jensen!

#bkgrnd-image  {
display: list-item;
list-style-image: url(../images/logo_print.gif);
list-style-position: inside;
}

Note: I’ve not found out how to use a sprite by positioning the background image in a list-style.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s