Just starting so I hope this isn't a silly question.
I am trying to get a rollover button to keep it's 'active' state when on that page.
I have a 3-part rollover image, green with shadow at the top for the normal setting, green with shadow at the bottom for the 'hover' state, then red with the tinting in the middle in the 'active' state.
I have multiples of these in a div already, with different wording on top to identify the link.
I would like to keep the 'active' state of the button when it's on that page.
I know I can create a image of the red button and add text on top in PS.
My issue is that, from what I have read online, I need to create a div for this.
Since these are already in a div, adding another div rearranges everything.
Is there an easy way to do this? or am I stuck with the 'old' PS way?
dava, again, sorry if this elementary, but in you code would I need 3 different image (button) files or just one?
In other words if my image is called 'button', would that one file be recognized as 'button.png' (that one is obvious), 'buttonhover.png', & 'buttoncurrent.png'??
I am trying it to see if I can figure this all out.
Don't use different IMAGES. Use CSS to style different APPEARANCE of one button for anchor a {} and pseudo classes a:link {} a:visited {} a:hover {} a:focus {} a:active. Then create another .class (such as .current or .here) and add that to link for current page
Bookmarks