switching off annoying dotted border around links in ff

L

libsfan01

hi all

when u click a link in firefox for mac it puts a dotted border around
the link. is there a way to switch this feature off?

regards

marc
 
J

Jake Barnes

libsfan01 said:
hi all

when u click a link in firefox for mac it puts a dotted border around
the link. is there a way to switch this feature off?


That sounds like a CSS issue. Could you point to an example page? When
you say "on a Mac" do you mean both IE, FireFox and Safari, or do you
mean one of those browsers? Could you be more specific?
 
R

RobG

libsfan01 said:
hi all

when u click a link in firefox for mac it puts a dotted border around
the link. is there a way to switch this feature off?

This has nothing to do with JavaScript[1], but for the record you can
use CSS to set the outline-style property of the a:focus pseudo-class
transition to 'none':

<style type="text/css">
a:focus {outline-style: none;}
</style>


If this is purely for your private purpose, you can define your own
style sheet to be applied to pages that are loaded into the browser.


1. You can use JavaScript in the onclick attribute of every single link
to blur the element when it is clicked on, but the CSS method is much
better - one line does them all.
 
S

scriptguru

RobG напиÑав:
libsfan01 said:
hi all

when u click a link in firefox for mac it puts a dotted border around
the link. is there a way to switch this feature off?

This has nothing to do with JavaScript[1], but for the record you can
use CSS to set the outline-style property of the a:focus pseudo-class
transition to 'none':

<style type="text/css">
a:focus {outline-style: none;}
</style>


If this is purely for your private purpose, you can define your own
style sheet to be applied to pages that are loaded into the browser.


1. You can use JavaScript in the onclick attribute of every single link
to blur the element when it is clicked on, but the CSS method is much
better - one line does them all.

Thanks for great answer. I didn't ever though it is possible!

Val
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,570
Members
45,045
Latest member
DRCM

Latest Threads

Top