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 4 of 4
  1. #1
    New Coder
    Join Date
    Aug 2002
    Posts
    85
    Thanks
    0
    Thanked 0 Times in 0 Posts

    link highlight..?

    I probably worded the subject badly.
    anyway, here's the basic question..

    So, normal HTML, when you use a link the text is underlined. On some sites I see links are underlined, but when you use the link it is highlighted...maybe that is the wrong term, but hopefully it gets the msg across.
    is it a simple thing to add?
    thanks,

    SS

  • #2
    Regular Coder
    Join Date
    Jul 2002
    Location
    Raleigh, NC
    Posts
    484
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I think this is what you are asking...

    put this within your <head> tags...

    <style type="text/css">
    a {color: #2B3657; font: bold 8pt ARIAL; text-decoration: none}
    a:hover {color: #8B1A1A; font: bold 8pt ARIAL; text-decoration: underline}
    </style>


    you can change the font, size, color, ect...
    -WebMark Art
    Programming is 80% thinking and 20% spelling

  • #3
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,265
    Thanks
    6
    Thanked 48 Times in 48 Posts
    Or maybe

    <style type="text/css">
    a {color: #2B3657; font: bold 8pt ARIAL; text-decoration: none}
    a:hover {color: #8B1A1A; font: bold 8pt ARIAL; text-decoration: underline;background-color:#ff0000;}
    </style>

  • #4
    New Coder
    Join Date
    Aug 2002
    Posts
    85
    Thanks
    0
    Thanked 0 Times in 0 Posts
    awesome, that is exactly what i was looking for. "hover."

    thank you


  •  

    Posting Permissions

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