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

Hiding the underling in a <a href> tag...

Status
Not open for further replies.

Premalm

Programmer
Mar 20, 2002
164
US
Hi Guys,

I have a menu Item "Test" which is in a link
<a HREF=" & sPage & " class=menuNormal> " & sMenuItem & " </a>"

I want to remove the underline in the link ? is this possible ? Any Ideas ?

Thanks
Premal
 
Taking Chrishunt's post from earlier.

Code:
<style>
a {
  color: rgb(16, 41, 107);
  font-weight: bold;
  text-decoration: none;
}
</style>
 
In class menuNormal, set:

text-decoration:none;

--Dave

P.S., or

Code:
<a HREF=" & sPage & " [red]style='text-decoration:none'[/red] class=menuNormal> " & sMenuItem & " </a>
 
in-line is.

Code:
<a HREF=" & sPage & " class=menuNormal style='text-decoration:none'>
 
We were like cards from different stacks being shuffled together there. I squeezed in right between your two posts. I was like "Darn! Fendel beat me to it!", then I was like "Hey! I beat Fendel!" Of course, my mood swings wildly based on how many responses I can get in before anyone else! :)
 
I blame myself, I didn't have the sense to put both alternatives in the same post.
*hangs head in shame*.
 
Thanks for all your response Guys.

Your response helped me.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top