Solved

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

Posted on 2011-03-02
9
286 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

Question has a verified solution.

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

Suggested Solutions

This article discusses four methods for overlaying images in a container on a web page
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

751 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