Hi I am new to web design and I am using a sprite image for a vertical menu. I have it working fine in it’s normal and hover state but I am struggling wit the coding for the active state (current page).
see the html came out as a link. Essentially I have given each link a class so that I can position the image for each link, button one, two. I then tried to give it a second class of focus when it was the active page so on the home page the class was
Thanks Paulie. I have never used javascrpt and would like to stick to html and css for now if possible. Can you give me an example of how to set an individual class to each page and then use that in the css? That’s what I don’t know how to do!