I have been given a sprite file with lots of icons of differing sizes.  In
this particular instance, I have an <li> that needs an icon on the left.
 However, if the <li> is too long (character count) then I end up with
other icons showing in the background.  Also, if it spans multiple lines, I
get several icons horizontally and vertically.

In the past, I've dealt with this in 1 of 2 ways: add a <span> to the <li>
and apply the background-image to the <span> only -or- modify the sprite
file, basically putting 1 image per 'line' and leaving plenty of vertical
spacing between the images.

Is there a CSS property that will allow me to 'clip' (I know that's
different, but it's the best I can think of now :)) the image that is used
for the background?

Thanks!

-- 
Chris Rockwell
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to