Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple a href question

Status
Not open for further replies.

beont

Programmer
May 16, 2008
9
When a link whether is img or plain text is pressed it has a dashed light border around it how can i remove it?
 
nope this is not good . i ve removed borders but if link is selected a white dashed border appears
 
HTML
<ul class ="buttons">
<li><a class ="buttons" href="#">Link one</a></li>
<li><a class ="buttons" href="#">Link two</a></li>
<li><a class ="buttons" href="#">Link three</a></li>
<li><a class ="buttons" href="#">Link four</a></li>
<li><a class ="buttons" href="#">Link four</a></li><li><a class ="buttons" href="#">Link four</a></li>
</ul>

CSS
ul.buttons
{
position:absolute;
left: 15%;
top: 2px;
float:left;
width:100%;
padding:0;
margin:0;
list-style-type:none;
}
a.buttons
{
float:left;
width: 10%;
text-decoration:none;
white-space: nowrap;
color:white;
border: none;
border-style: none;
background-image: url(./images/b2.png);
background-repeat: repeat-x;
padding:0.4em 0.6em;
border-right:2px solid white;
-moz-border-radius-bottomleft:0;
-moz-border-radius-bottomright:0;
-moz-border-radius-topleft:0.75em;
-moz-border-radius-topright:0.75em;
}
a.buttons:hover {background-image: url(./images/b2o.png);
background-repeat: repeat-x;}

li {display:inline}

 
Hi

Sorry, I misunderstood your question.

So you are talking about the active link mark. There is only a stupid way, to [tt]blur()[/tt] it :
HTML:
<a href="#" onfocus="this.blur()">x</a>
Just for the record : I hate all kind of trick which break the navigational aids implemented in the browsers.

Feherke.
 
thank you feherke. I dont like this either wont use it
thank you anyway
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top