I have a test site running at http://artbymichaelking.com/DS/
As you can see with the navigation I have the image rollover. I do this with CSS via:
Expand|Select|Wrap|Line Numbers
- .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