Jump to content

stop border appearing around links when clicked


Recommended Posts

In the link line put

 

text-decoration = "none"

 

That won't fix the border problem. That's just an underline.

 

<a href="link.html" onclick="this.blur;"> 

 

might work. Try that.

 

I use this on my pics, and it works fine.  No outline when clicked on.

In the link line put

 

text-decoration = "none"

 

That won't fix the border problem. That's just an underline.

 

<a href="link.html" onclick="this.blur;"> 

 

might work. Try that.

 

I use this on my pics, and it works fine.  No outline when clicked on.

 

Never mind, checked my css file, and I noticed I change the color to the background color, so it doesnt look like it shows up.

I believe this is a browser behavior that cannot be controlled. It occurs in Firefox for image links, text links and any other kind of clickable area. I have not found a way to prevent it from happening.

 

If I am wrong then please correct me as it is something I wanted to fix at some point and just gave up because it was not a big enough deal.

 

Nate

Cool to know. I am surprised that a css trick can squash this browser behavior. But it is a browser behavior. I guess the brilliant folks at mozilla decided to make the browser respond to some specific style elements.

 

Thanks for posting that.

 

Nate

 

Very bad idea, this removes the border when using the 'tab' button on your keyboard to flick through links. You're making the page un-accessible to keyboard users.

Swamp,

 

Good catch. I did not even think of that. But your right. If you go to the link that is given on how to remove them and try to tab through the links, you have no indication as to which one your on. Not Good. I use that feature sometimes myself when it is quicker than grabbing the mouse.

 

Thanks for that... I will never use this feature.

 

Nate

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.