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 2 of 2
  1. #1
    New Coder
    Join Date
    Oct 2006
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy CSS Mouse Over Links ...

    CSS Mouse Over Links ...

    how do I set different link overs etc on one page?

    So I mean:

    a:link
    {
    color: #FFFFFF;
    text-decoration: none;
    }
    a:visited
    {
    color: #FFFFFF;
    text-decoration: none;
    }
    a:hover
    {
    color: #CBDFF2;
    text-decoration: none;
    }
    a:active
    {
    color: #CBDFF2;
    text-decoration: none;
    }

    But different on one page ... probably with a class orso but how?

  • #2
    Regular Coder croatiankid's Avatar
    Join Date
    Jan 2006
    Posts
    665
    Thanks
    1
    Thanked 12 Times in 12 Posts
    Hi,
    yes you would use classes, see this.
    Read specifically "Pseudo-classes and CSS Classes", it gives an example. I hope this helps


  •  

    Posting Permissions

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