473,378 Members | 1,475 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Removing borders around active links

I've tried everything, looked through all the faqs and everything,
looking for a way to remove the 1px dotted border from around active
links... tried

a:active { border: 0px solid black; }

but, to no avail...
does anyone know how to get rid of the borders?
Jul 20 '05 #1
2 4277
vb**********@Yahoo.com (vbAlex) writes:
I've tried everything, looked through all the faqs and everything,
looking for a way to remove the 1px dotted border from around active
links... tried

a:active { border: 0px solid black; }

but, to no avail...
does anyone know how to get rid of the borders?


It is a browser thing. Not all browsers has the dotted border, and you
should be carefull not to remove it from people who actually need it.

What you see is not derived from being "active", but from being
"focus"'ed. The traditional solution is to add
onfocus="this.blur()"
to the elements. However, that completely breaks keyboard navigation,
so you might not want to do that.

/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit.html>
'Faith without judgement merely degrades the spirit divine.'
Jul 20 '05 #2

"vbAlex" <vb**********@Yahoo.com> schreef in bericht
news:83**************************@posting.google.c om...
I've tried everything, looked through all the faqs and everything,
looking for a way to remove the 1px dotted border from around active
links... tried

a:active { border: 0px solid black; }

but, to no avail...
does anyone know how to get rid of the borders?


Hi,

Since IE5.5 there is the hidefocus attribute. AFAIK it is a MS thing
only.

http://msdn.microsoft.com/workshop/a.../hidefocus.asp

Fred

Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Hostile17 | last post by:
I've been trying to figure out a good way to make a CSS layout with nice-looking 1-pixel borders around the table cells. The only broadly compatible way to do this I know of is to have * the...
5
by: Jonathan Daggar | last post by:
Hello, I'm trying to put together a form with a very tight table formatting. However, every time I put an text-type input field in, the browser pads the area to the right of it with space. I've...
1
by: Christopher Scott | last post by:
Anybody know how I can eliminate the ugly-looking border that appears around hyperlinked images in IE5/Mac? I realize that the browser has been discontined but I presume that many are still...
1
by: Alan Hoyle | last post by:
I was using a <table border> to generate borders around some info/images, and decided to follow the w3c guidelines and convert it to CSS boxes with borders since it wasn't really tabular data. ...
0
by: Rob McLennan - ZETLAND | last post by:
Hi, I have set up a print-friendly stylesheet (print.css) for a website which is built as a frameset (made up of a top and bottom frame). When going to File/Print Preview in IE6, bevelled margins...
2
satchmo67
by: satchmo67 | last post by:
Howdy, I want to reply to a really old post on this subject. The original poster was battling with the problem of trying to validate a frameset page and use the border attribute. I have been down...
2
by: nevenuf24 | last post by:
Anyone know why my top and bottom border is not showing in Internet Explorer 6 for my navigation bar? There should be a border around the word home and borders around each link as you roll over it....
9
by: Michael Redbourn | last post by:
Hi, I just switched from FP to DW and am very very happy ! So whilst I'm mastering Dreamweaver (gonna be a while yet :-) - I thought that I'd try and find out how to add borders for browers...
1
by: drappaport | last post by:
When my website is viewed in IE6 on a PC and IE 5.2 on a mac my images that I've used as links have an ugly blue border around them. When you click on them it changes to a purple border. I am trying...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.