I am of course having problems with CSS3 sprites! I am using an inactive and hover state for the buttons on my site. I decided only to use the two states (although I know to do it ‘properly’) you’re supposed to use three. I figure that the hover state is dramatic enough to give the user enough feedback to know what’s happening on the site when they hover, and then when they click. That part’s not the problem (unfortunately!).
My home button refuses to align itself and loves to go missing, in addition to which it now has this weird (no other way to describe it) background shape to it. I spent yesterday afternoon studying my code mercilessly, but since simplifying my html & CSS to accomodate the hover and linking there’s not all that much to see. So I’ve been slightly baffled as to what on earth is causing my errant home button. If it’s not placement now it’s appearance! I did have one moment of clarity where the home button decided to do what it was told and it looked pretty good where it was. Of course, go change some code for the content box on the page and see you later home button!
I’ve gone back to go over the box model once again as well as hierarchy in CSS so hopefully I can resolve that issue today. I’d love to move on from it! The other brainwave I had this morning was – did I remove the other image files associated with the home button? My initial response? No I did not! Which might explain its current crazy appearance. Here’s hoping…