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

Rather Simple? Just not sure [Links]

Status
Not open for further replies.

bjm027

MIS
Mar 7, 2003
59
US
I imagine its a rather simple option to change. But I am trying to make a set of words a link without having the underline. Its just not working out for me, I cant get rid of the underline.

Thanks in advance
 
you can do it inline as such

<a href=&quot;link.htm&quot; style=&quot;text-decoration: none;&quot;>i have no underline</a>

or you can make a class

a.nounderline {text-decoration: none;} and use it as such

<a href=&quot;link.htm&quot; class=&quot;nounderline&quot;>i have no underline</a>

[Hammer]
Nike Failed Slogans -- &quot;Just Don't Do It!&quot;
 
I always just go to the CSS and create a new style sheet. under Use cssSelector set a:link to none under decorations.

I am not a programmer yet. Richard [openup] [openup]
 
photo you are correct for a uneversal solution for all a tags. however for simplistic sakes if you want two types of links, on the default and one with out then you would need to classify pseudo classes

a.one
a.two
etc...

where inline you can specify just a few links should you want them changed

[Hammer]
Nike Failed Slogans -- &quot;Just Don't Do It!&quot;
 
....and thats exactually what I did. Thanks for the tips.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top