Discuss: CSS Sprites: Image Slicing’s Kiss of Death
by Dave Shea
- Editorial Comments
182 buttons - how to do?
Hello, studying your great tutorial and trying to get to the same results I have some big problems with this button-thing. Even with a exactly same picture and your css-code (!) I don’t get to the same result… How do you count the values for the image itself and the borders and how do you get this image in the middle of the page without coding it???
I’m willing to learn but now I need a litte or more help. Thanks a lot!
posted at 01:30 am on May 26, 2004 by Susanne
183 button-sprites
Hello, in the meantime paul o’brien from sitepoint helped me with my centering-problem. Shorthand-coding is not my speciality… (margin top and bottom with px and right/left with “auto”).
The rest of the story I solved with a little help from my partner who askes the right questions. But I still don’t understand why you used the dummy-background-image for the ul – that makes no sense to me. Also the 1px add to the width of the picture/ul I see but don’t understand.
So if you, dave, or somebody else could explain me, I would appriciate!
Susanne
posted at 01:40 am on May 27, 2004 by Susanne
184 amazing
Once again you guys really make me feel like an amateur.
Just when i thought i had a handle on it….
posted at 07:51 am on May 28, 2004 by mark
Discussion Closed
New comments are not being accepted, but you are welcome to explore what people said before we closed the door.
Got something to say?
Discuss this article. We reserve the right to delete flames, trolls, and wood nymphs.
Create a new account or sign in below if you’d like to leave a comment.
Subscribe to this article's comments: RSS (what’s this?)






181 Interesting
Always looking for new ways in which to implement CSS and this certainly is a good one. I’ve already played about with it and found it quite easy and it seems to be an extremely good way to present things.
Wonderful tutorial, many thanks.
posted at 11:48 am on May 20, 2004 by Avis