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

    Links underlining during mouse over

    Hi,
    I am looking for a way to underline a links <A>
    only when the mouse is placed over then in NS4 and IE.
    Could you please help with this

    Thank you very much

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    United Kingdom Confused: Often
    Posts
    859
    Thanks
    0
    Thanked 0 Times in 0 Posts
    This can be done easily using CSS:

    <style>
    a:link, a:visited, a:active {
    text-decoration: none}
    a:hover {
    text-decoration: underline}
    </style>

    happy coding
    redhead

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Location
    Dallas, Texas
    Posts
    188
    Thanks
    0
    Thanked 0 Times in 0 Posts
    fyi, hover does not work in netscape.
    http://www.w3schools.com/css/css_pseudo_classes.asp

  • #4
    Regular Coder
    Join Date
    Jun 2002
    Location
    United Kingdom Confused: Often
    Posts
    859
    Thanks
    0
    Thanked 0 Times in 0 Posts
    sorry 'bout that, there is a way to do all that for netscape 4 but i think it involves quite alot of coding.

    Tell your surfers... "Site best viewed in IE..." and all that stuff

    happy coding
    redhead

  • #5
    Regular Coder
    Join Date
    Jun 2002
    Location
    Dallas, Texas
    Posts
    188
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i agree

  • #6
    Regular Coder
    Join Date
    Jun 2002
    Location
    The Netherlands
    Posts
    217
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Originally posted by applesauce
    fyi, hover does not work in netscape.
    http://www.w3schools.com/css/css_pseudo_classes.asp
    Next time state explicit that it doesnt work in ns4,or newbies might get confused and think that it doesnt work in NS at all.

  • #7
    Regular Coder
    Join Date
    Jun 2002
    Location
    Dallas, Texas
    Posts
    188
    Thanks
    0
    Thanked 0 Times in 0 Posts
    right, bosko


  •  

    Posting Permissions

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