remove underline from links

Discussion in 'Javascript' started by Ed, Oct 3, 2003.

  1. Ed

    Ed Guest

    Don't even know if this is a javascrip thing...but how do I remove the
    underline from hyperlinks?
     
    Ed, Oct 3, 2003
    #1
    1. Advertisements

  2. Ed

    Ivo Guest

    "Ed" <> wrote in message
    news:0kefb.187$...
    > Don't even know if this is a javascrip thing...but how do I remove the
    > underline from hyperlinks?
    >


    It 's a css thing:

    <style type="text/css">
    a {text-decoration:none}
    a:hover{text-decoration:underline}
    </style>

    The second line makes links underlined onmouseover only.
    HTH
    Ivo
     
    Ivo, Oct 3, 2003
    #2
    1. Advertisements

  3. David Dorward, Oct 3, 2003
    #3
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. sunil
    Replies:
    1
    Views:
    540
    Nicolas LeBlanc
    Jul 15, 2003
  2. Jag
    Replies:
    2
    Views:
    8,719
    Randy Rahbar
    Nov 14, 2003
  3. Music Lover

    Bold Italic UnderLine in TextBox

    Music Lover, Nov 26, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    923
    Teemu Keiski
    Nov 26, 2003
  4. ALok Gupta via .NET 247
    Replies:
    2
    Views:
    1,327
    John Saunders
    Aug 9, 2004
  5. KatB
    Replies:
    4
    Views:
    19,352
    prashant205
    Aug 24, 2007
  6. Guest

    HyperLink underline

    Guest, Jan 4, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    3,825
    Vikesh
    Jan 5, 2005
  7. Replies:
    7
    Views:
    35,298
    forexad
    May 21, 2011
  8. Øyvind Granberg

    Image links underline not

    Øyvind Granberg, Oct 17, 2008, in forum: HTML
    Replies:
    3
    Views:
    1,394
Loading...