Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-24-2002, 06:36 PM   PM User | #1
mellojoe
New to the CF scene

 
Join Date: Jun 2002
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
mellojoe is an unknown quantity at this point
link underline

i'm trying to get rid of the link underline.

i know its a simple
<stlye> tag, but a couple of thins:

how do you remove the underline from a group of links, again? Also, does this work in NS?

Can you remove the underline on a link by link basis?
mellojoe is offline   Reply With Quote
Old 06-24-2002, 06:39 PM   PM User | #2
QuackHead
Regular Coder

 
Join Date: Jun 2002
Posts: 344
Thanks: 0
Thanked 0 Times in 0 Posts
QuackHead is an unknown quantity at this point
for the whole document:

<style>
a:link {text-decoration: none;}
a:visited {text-decoration: none;}
</style>

if you want to do it for a group of links, you should create link "classes"

<stlye>
a.ClassName:link {text-decoration: none;}
a.ClassName:visited {text-decoration: none;}
</style>

<a href="page.html" class="ClassName">click</a>

hope that helps.

~Quack
QuackHead is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:53 AM.


Advertisement
Log in to turn off these ads.