Solved

Eliminating the dotted line box that appears around a link after it has been clicked on.

Posted on 2007-03-21
2
726 Views
Last Modified: 2010-08-05
A dotted text box appears around the link after it has been clicked until you click elsewhere.  It looks awful.  How can I get rid of it?  To see what I'm talking about, the current copy of the page I'm working on can be found at...  http://www.orangeshadow.com/~jdavis/
The Menu and Gallery tabs are the ones that I am referring to.  I would like to eliminate this all together though.
0
Comment
Question by:josephdaviskcrm
  • 2
2 Comments
 
LVL 4

Accepted Solution

by:
ftsao earned 250 total points
ID: 18766610
Add the following code between your <head></head> tags:

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

Tested in Firefox 2.0 and IE 6+
0
 
LVL 4

Assisted Solution

by:ftsao
ftsao earned 250 total points
ID: 18766724
Sorry that is for Firefox only. To handle IE you can add <a href="index.html" hidefocus="true">Home</a>.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

948 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now