Home › Forums › CSS › a vs a:link › Re: a vs a:link
September 5, 2011 at 8:00 pm
#86451
Member
One thing that occured to me before, but which I didn’t use yet, is using anchor tags without hrefs for javascript “links” (buttons that do stuff without going to a new page) – not because it makes any sense semantically, but because it’s a one character tag instead of a class, which easily wins over semantics for me :P
But I always thought that then the hover state would be the same for both. Now I fiddled a bit:
Yay! D’oh, too :D
Also perhaps of interest: