Solved

How can i prevent a dotted border to appear after i click on a link?

Posted on 2011-03-02
9
285 Views
Last Modified: 2012-05-11
How can i prevent a dotted border to appear after i click on a link?
0
Comment
Question by:falfouli
  • 3
  • 3
  • 2
  • +1
9 Comments
 
LVL 13

Expert Comment

by:darren-w-
ID: 35016457
I dont thing this can be done, its system and browser specific
0
 
LVL 40

Expert Comment

by:gurvinder372
ID: 35016473
which browser? i don't get any dotted border when i click any link?
0
 

Author Comment

by:falfouli
ID: 35016486
ie and ff
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 13

Expert Comment

by:darren-w-
ID: 35016499
You could do it with javascript:

<script type="text/javascript">
function redirect(a)
{
window.location = a;
}
</script>

<div><p style="color:blue" onclick="redirect('http://www.google.co.uk');">test code</p></div>

Open in new window

0
 
LVL 40

Expert Comment

by:gurvinder372
ID: 35016501
can you share the internet link which is showing you a dotted border?
0
 

Author Comment

by:falfouli
ID: 35016520
for example my site: www.islamobec.com
when you click on the next navigation arrow there is a big ugly border that appears??
0
 
LVL 2

Assisted Solution

by:nedlogan
nedlogan earned 250 total points
ID: 35016657
Hi,
Have you tried adding the following to your stylesheet:
a{
outline:none; /*FF1.5+ IE7+*/
-moz-outline:none /* FF<=1.5*/
}
If you only wish to target arrow links add a class e.g
a.arrorws/*CSS*/
<a href="" class="arrows"> <!-- html -->
Regards.
0
 
LVL 13

Accepted Solution

by:
darren-w- earned 250 total points
ID: 35016665
try this:

<style>
a:active,  a:focus{
    border:none;
    outline:none;
}

</style
0
 

Author Comment

by:falfouli
ID: 35016716
thank you
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

830 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