I have a unordered list as a thumbnail gallery, now when a user clicks on a thumbnail, I want it to have a border color of #000. Until the user clicks a new thumbnail I want it to stay black, is this possible through css? Thank you
Hi, As long as you are staying on the same page you can manipulate the :active and :focus pseudo classes for IE and Firefox only. This example shows the method in use but in a different situation. Stu Nichols also has a number of examples on cssplay
www.pmob.co.uk CSS FAQ 3 col demo Read My CSS Articles Ultimate CSS Reference Check out SitePoint's latest JavaScript challenge
THANK YOU! Your cssplay link worked greatly! One last thing: Can I disable the thin-dotted line on it's a:focus state in FF?
this usually helps Code: a{ outline: 0; }
a{ outline: 0; }
Brilliant. Thanks!
Forum Rules
Bookmarks