Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: link underline

  1. #1
    New to the CF scene
    Join Date
    Jun 2002
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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?

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Posts
    344
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •