- This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Why is it that sprites seem so complicated. I seem to follow all the steps, but there always seems to be something I missed and can’t figure out what. On this site…I finally figured out how to use sprites in the nav bar, though I want to use another one in the side bar for a large button. Neither the hover nor the link works????
They really aren’t, I think you are probably just having a problem with the math. Read this article which explains a lot
http://www.alistapart.com/articles/sprites
thanks, but the math on this one is pretty simple. There are just two images stack on top of each other in the sprite. I’m trying every way of writing the CSS I can think of, but somehow it’s not jiving. Trying to use the same syntax in the navigation bar…still nothing??? This is only one image, as opposed to being in an unordered list. Not sure why it would, but does that by chance make a difference?
Oh I figured it out, i was just using an id where I didn’t need to. it worked when I simplified the CSS.