Forum Moderators: not2easy
The :focus pseudo-class applies while an element has the focus (accepts keyboard events or other forms of text input).
Last I checked, an <a> element "accepts keyboard inputs".
Bonusbana: Please go test your assertions before spouting off.
Gecko based browsers focus anchor elements when you click on them, which gives the result desired by saha_m.
Whithout server side scripting, I would do what DrDoc recommends and make a style switcher in javascript.