The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Navigation Tab Issue
Hi
I’ve created customized navigation tab buttons in Photoshop, now I would like to know
how I can use those buttons in my Web Page that I’m designing in ASP.NET-C#. How
can I use CSS style sheets and Css Classes to create “a:hover” elements and other similar
classes and apply it to my custom button image?
How would the code look like etc… I really need some help
Thanks!
To answer your questions, yes, CSS can be used to display a hover image for your buttons. Here’s some generic code for a navigational menu:
Button 1 Button 2 Button 3
This assumes that your buttons are 70×30 px. Your sprite image would be 70×60 px with the hover state below the default state.