Hello,
I have a test site running at http://artbymichaelkin g.com/DS/
As you can see with the navigation I have the image rollover. I do this with CSS via:
Basically, the image is 190px wide and has two images in it, on the left is the non select image and the other is the selected image. On roller it just shift the red one into view.
However, I CANNOT get it to stay red after one clicks in a certain area.
As you can see from my code, I tried 'a:active' but that does not work.
Does anyone know how to make the rollover stay on the red version after it is clicked?
Cheers,
Michael
I have a test site running at http://artbymichaelkin g.com/DS/
As you can see with the navigation I have the image rollover. I do this with CSS via:
Code:
.companyrollover a{ display: block; width: 95px; height: 20px; background: url(images/menubar/COMPANY.jpg) no-repeat; text-decoration: none; float: left; } .companyrollover a:hover { background-position: -95px 0; } .companyrollover a:active { background-position: -95px 0; }
However, I CANNOT get it to stay red after one clicks in a certain area.
As you can see from my code, I tried 'a:active' but that does not work.
Does anyone know how to make the rollover stay on the red version after it is clicked?
Cheers,
Michael
Comment