In order to show links that go to an external page, I have a little gif that goes after the text, using the after property of css.
.[style]:after{content:url(../images/main/externallink.gif)}
The problem is when it comes to making the image change (to change the colour) on roll-over; the following code works fine but adds the image to the first one instead of changing it!
.[style] a:hover:after{content:url(../images/main/externallinkover.gif)}
Can anyone suggest a way to make the original 'after' image disappear, or suggest a completely different way of doing this?
a:hover, a:after...[style]:afterand in the second you have.[style] a:hover:after. They are not following the same structure and so will not match the same element in two different states.