Trying to find out more about css pseudo class a:focus Am trying to adapt some code. Have tried
a:focus img {border:2px solid rgb(155, 205, 255);}
and
a:focus img {background:rgb(155, 205, 255);}
Neither work. Yet
a:hover img {background:rgb(155, 205, 255);}
works fine on hover. Does anyone know what I've done wrong?
Les
Sorry, am using Firefox, but want this to work cross-browser if possible. I get a flash but not the steady border like this gallery: http://www.cssplay.co.uk/menu/gallery.html#nogo