what's the code for the under line link...

Discussion in 'The Living Room' started by [Darken Hybrid], Mar 31, 2003.

  1. #1
    [Darken Hybrid]

    [Darken Hybrid] Ambient

    Joined:
    Feb 15, 2003
    Messages:
    1,729
    Likes Received:
    4



    i know there's a code for links not to be underlined. I knew it but i forgot. so can u guys tell me as soon as possible?
     
  2. #2
    Bryan

    Bryan Guest




    Put this inside the <head></head> tags:
    Code:
    <style>
      A:link {text-decoration: none; color: #000000}
      A:visited {text-decoration: none; color: #000000}
      A:active {text-decoration: none; color: #000000}
      A:hover {text-decoration: underline; color: #000000}
    </style>
    
    You can change what color you want links to be on that page, what color you want visited links, what color you want active links to be, and what color you want it to be while hovering over it.(as well as text decoration for all four).
     
  3. #3
    [Darken Hybrid]

    [Darken Hybrid] Ambient

    Joined:
    Feb 15, 2003
    Messages:
    1,729
    Likes Received:
    4



    thanx. (w00t)
     
  4. #4
    Bryan

    Bryan Guest




    Glad I could help. :)
     
  5. #5
    image_distort

    image_distort Well-Known Member

    Joined:
    Aug 4, 2002
    Messages:
    343
    Likes Received:
    1



    That, and you can also use CSS. It's more advanced, but you can make your links more better with that.

    I'll post a link to the tutorial soon.
     
  6. #6
    Alex

    Alex Ambient

    Joined:
    Jul 13, 2002
    Messages:
    1,552
    Likes Received:
    4



    What Bryan posted is CSS :mellow:
     
  7. #7
    Will

    Will LPA Addicted VIP LPA Addicted VIP

    Joined:
    Aug 25, 2002
    Messages:
    35,486
    Likes Received:
    38



    Lalit means external CSS sheets, instead of internal, which is what Bryan posted.
     

Share This Page