Tap here to go to the mobile version of the site.
Your Firefox is out of date and may contain a security risk! Upgrade Firefox

Support Forum

How do i get rid of the dotted line around flash objects and links?


I'm trying to remove the dotted line around flash objects and links in Firefox 16.01, but I don't know how to find Firefox's CSS or what would work to do so. Setting the ring value to 0 in about:config didn't work.

Chosen solution

please make sure that you change the _width preference, not _style.

Read this answer in context 4

Additional System Details

Installed Plug-ins

  • Shockwave Flash 11.4 r402
  • Next Generation Java Plug-in 1.6.0_35 for Mozilla browsers
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • Shockwave Flash 11.3 r300
  • Adobe PDF Plug-In For Firefox and Netscape "9.5.2"
  • Shockwave Flash 11.2 r202
  • Adobe Shockwave for Director Netscape plug-in, version
  • ActiveTouch General Plugin Container Version 105
  • Yahoo Application State Plugin version
  • Unity Player 2.6.1f3
  • npdnupdater2
  • npdnu
  • Windows Presentation Foundation (WPF) plug-in for Mozilla browsers
  • np-mswmp
  • Office Plugin for Netscape Navigator
  • Rhapsody Player Engine Plugin
  • Allows browsing on RealArcade sites with Mozilla browsers.


  • User Agent: Mozilla/5.0 (Windows NT 5.1; rv:16.0) Gecko/20100101 Firefox/16.0

More Information

finitarry 157 solutions 2175 answers

I am seeing that happening only if I click on a link in some way, and the outline disappears if I click elsewhere on the page.

  • Top 10 Contributor
  • Moderator
2042 solutions 8891 answers

hello lalalei2001, you can try the following - enter about:config into the firefox location bar (confirm the info message in case it shows up) & search for the preference named browser.display.focus_ring_width. double-click and set that entry to 0, then the dots around a focused object should no longer appear.


Question owner

I tried that, it made the dots turn into a line.

  • Top 10 Contributor
  • Moderator
2042 solutions 8891 answers

Chosen Solution

please make sure that you change the _width preference, not _style.

Question owner

Thank you; that worked!

Question owner

It's back again D:

  • Top 10 Contributor
  • Moderator
10745 solutions 96691 answers

Try to add code like this to the userContent.css file.

The customization files userChrome.css (interface) and userContent.css (websites) are located in the chrome folder in the user profile folder.

object, embed, a:link, a:visited { outline:0 !important; }
renman3000 0 solutions 1 answers

Hi there, I am unlcear as to what script and file I need to access in order to correct this. Right now, my website contains a single HTML and swf file.

Any help?