Forum Moderators: not2easy
I currently have several image links that appear to be working fine, but when I view them on a mac, a border appears around any of them when I either click on them or return back and they are a visited link. I am new to the use of CSS, but I think there is a way to make this work. So far my numerous efforts have been in vain.
Any suggestions or directing to a handy tutorial on this subject would be hugely appreciated.
Thanks!
Dave
img {
border:2px solid green;
}
a img {
border:0px;
} Incidentally, it's a good idea to list them in this order, since styles listed later generally supercede earlier ones. That should not happen in this particular case, because "a img" is more specific than "img", and more specific selectors take precedence. But it is still a wise practice!