On Jul 20, 2004, at 12:23 pm, Ben Cameron wrote:
I have been trying to get a link to underline and change colour when
tabbed to. I succeeded in getting the link to change colour when
tabbed
over, but try as I might, it won't underline it. I've tried all the
normal methods with
Hi all,
This is how I achieve the effect but using a different method:
a {color:#009; text-decoration:none; border-bottom:1px dotted
#ccf; padding-bottom:1px}
a:link {color:#009; border-bottom:1px solid #ccf}
a:visited {color:#606; border-bottom:1px
Hi Ben,
Please send the list a sample url so that people can see exactly what you
have done and will then be better informed to help you.
Russ
Hi all,
I have been trying to get a link to underline and change colour when
tabbed to. I succeeded in getting the link to change colour when
I believe it only really works in IE.
and only when TABBING forward, not backward (SHIFT+TAB)
You need to set the:
a:active
{
}
atrribute
russ - maxdesign wrote:
Hi Ben,
Please send the list a sample url so that people can see exactly what you
have done and will then be better informed
This method works in IE 6/ netscape 7/ mozilla 1.3 (requires use of
javascript event handlers)
a href=contrast.html style=text-decoration:none;
onfocus=this.style.textDecoration='underline'
onblur=this.style.textDecoration='none'Reduced Contrast Simulation/a |
a href=test.html