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 3 of 3
  1. #1
    Regular Coder
    Join Date
    Feb 2004
    Location
    UK, derby
    Posts
    142
    Thanks
    0
    Thanked 0 Times in 0 Posts

    CSS and mouseover underline link effect

    Hi

    what do i need to put in this CSS code in order for the link to underline when i mouse over. I know i have to change it where it says "HERE" bt what do i change it to, i have tried "over" and "mouseover"

    A:HERE { text-decoration: underline;
    COLOR: #0066FF;}

    JAKE

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Iowa / Notre Dame
    Posts
    538
    Thanks
    0
    Thanked 0 Times in 0 Posts
    jake,

    Your CSS should be written like so:

    a:hover { ... }

    If you are trying to apply this to links with the class "here" (I'm not sure if this is why you have your links written as a:here), then you will want your code to be written like so:

    a.here:hover

    edit: there is more info on psuedo-classes here if you wish: http://www.w3.org/TR/CSS1#pseudo-cla...seudo-elements
    My Site {Mike's Adventures}

    Yikes, forums are almost too much fun.

  • #3
    Regular Coder
    Join Date
    Feb 2004
    Location
    UK, derby
    Posts
    142
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thank you.

    I got it,i put HERE in the wont place.

    Cheers

    JAKE


  •  

    Posting Permissions

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