[thelist] Styling the Active Link State

Bob Haroche spambait at onpointsolutions.com
Fri Mar 28 09:32:43 CST 2003


> --- chase at ontask.net wrote:
> > Using CSS, how do you eliminate the dashed box around a link that
> > is being clicked on?

Using JS, you can do this:

<a href="newpage.html" onClick="if(this.blur)this.blur()">Go to new
page</a>

Note that the dashed line is an accessibility feature to support
tabbing through links I believe. So this JS will disable that feature
if that matters to you.

-------------
Regards,
Bob Haroche
O n P o i n t  S o l u t i o n s
www.OnPointSolutions.com



More information about the thelist mailing list