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

Thread: Please help ...

  1. #1
    New Coder
    Join Date
    Aug 2002
    Location
    Toronto, Canada
    Posts
    66
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Please help ...

    Not sure how to explain it ... i have a table and in that able i have 5 rows, in each row there is a link. When you go over the link background changes color so does the text. I done that using CSS. Here is the deal.

    Table background color is darkgrey and font color is white
    when going over with the mouse the background changes to light grey and font color changes to black

    The problem i have is that if i try to use a link on any other parts of the page i cant see anything because the original font color is whie so is the background. When i go over with the mouse over where the link should be i can see it being black.

    Question is: is there a way of doing so i can use different font colors for links no the same page ? example would be;

    link: black with mouseover it color changes to blue
    link2: orange with mouseover it color chnages to green

    if you can help me with that ... i would apprecitate it a lot

    Thanx in advance

    HormonX

    p.s. hope i didn't confuse you too much

  • #2
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,265
    Thanks
    6
    Thanked 48 Times in 48 Posts
    a{
    color:blah;
    }

    a:hover{
    background-color:blah;
    color:blah;
    }

    a.link2{
    color:blah;
    }

    a.link2:hover{
    background-color:blah;
    color:blah;
    }


    For the links

    <a href=blah>link1</a>
    <a href=blah class=link2>link2</a>

  • #3
    Senior Coder Mhtml's Avatar
    Join Date
    Jun 2002
    Location
    Sydney, Australia
    Posts
    3,531
    Thanks
    0
    Thanked 1 Time in 1 Post
    Blah!
    Omnis mico antequam dominus Spookster!


  •  

    Posting Permissions

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