Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Losing the border from the "a href=" tag.

Losing the border from the "a href=" tag.
Thread Tools
Mac Elite
Join Date: Mar 2002
Location: Clogland
Status: Offline
Reply With Quote
Sep 14, 2002, 04:42 AM
 
If I throw "border = 0" into the "a href" tag in html, in principle that should remove the border that highlights a link.

It doesn't seem to be working, if I click (in this case an image) the link the highlight appears, and even worse if I return to the page using the back button on my browser the link is still highlighted.

Anyone know a workaround for this one?

Is it because I'm using a Mac? (Internet Explorer 5.1)
     
Mac Elite
Join Date: Mar 2001
Location: England
Status: Offline
Reply With Quote
Sep 14, 2002, 08:38 AM
 
Originally posted by skalie:
If I throw "border = 0" into the "a href" tag in html, in principle that should remove the border that highlights a link.

It doesn't seem to be working, if I click (in this case an image) the link the highlight appears, and even worse if I return to the page using the back button on my browser the link is still highlighted.

Anyone know a workaround for this one?

Is it because I'm using a Mac? (Internet Explorer 5.1)
To remove the border from an image, the border=0 would go in the image tag, not the link tag.

But that's not what you're talking about - what you're seeing isn't the border, it's IE's method of hilighting a link. It can't be removed through HTML.

Amorya
What the nerd community most often fail to realize is that all features aren't equal. A well implemented and well integrated feature in a convenient interface is worth way more than the same feature implemented crappy, or accessed through a annoying interface.
     
Mac Elite
Join Date: Mar 2001
Status: Offline
Reply With Quote
Sep 14, 2002, 09:31 AM
 
What you need to do is remove the focus from that link to get rid of the border. You can prolly do it in JavaScript - I can't test my hypothesis right now because I'm not using a Mac so my links don't have that "border" around them.

-Raman
     
Mac Elite
Join Date: Oct 2000
Status: Offline
Reply With Quote
Sep 14, 2002, 12:52 PM
 
Try to stick an "onfocus="blur()";" in there. If I recall, it should work for both links and buttons.
     
skalie  (op)
Mac Elite
Join Date: Mar 2002
Location: Clogland
Status: Offline
Reply With Quote
Sep 15, 2002, 05:57 AM
 
Originally posted by Synotic:
Try to stick an "onfocus="blur()";" in there. If I recall, it should work for both links and buttons.
That worked like a charm, many thanks.

onfocus = "blur();"

.......is the syntax that weaved the magic
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:47 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2