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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Links with no Underline?

Status
Not open for further replies.

Javrix

Technical User
Nov 9, 2000
115
0
0
US
How do I do it? Do I make a style and then <A HREF=&quot;blah.html&quot; class=&quot;mystyle&quot;> ?

If so, what do I do with the style? ~Steve

A broken clock is correct twice per day.

A roomful of monkeys on typwriters will eventually write the great american novel.

If you gave an infinate number of rednecks, an infinate number of shotguns to shoot at an infinate number of street signs, they'd eventually recreate all of Shakespears works in braile.
 
A.sidebar:hover{color: #66ccff;
text-decoration:none;
font-weight:bold;
background-color: white;
}

In the above example I have entered the tag:

text-decoration: none;

This is the CSS tag that removes the underline from the link. You would then simply insert the CSS tag as so:

<A HREF=&quot; class=&quot;sidebar&quot;>text</A>

The whole set of tags go into your Cascading Style Sheet file which you would do well to name:

somename.css

Here is a URL for the best CSS source of tag explanations and specifications you will ever find:


Hope this helps.

Ed
 
.sidebar
{
text-decoration:none;
}

<a href=#><span class=sidebar>Whateverthis</span></a>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top