DP's CSS

Discussion in 'CSS' started by Adulu, Mar 2, 2011.

  1. #1
    DP's category
    forum advertising articles blog.....
    PHP:
    how do to do that?
    when mouse over link that become white color
     
    Adulu, Mar 2, 2011 IP
  2. biiccs

    biiccs Member

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    31
    #2
    You should use pseudo class. I give you example.

    Simple html:
    
    <a href="forum">forum</a>
    <a href="advertising">advertising</a>
    <a href="articles">articles</a>
    <a href="blog">blog</a>
    
    Code (markup):
    Simple css:
    
    a:hover {
         color: white;
    }
    
    Code (markup):
    If you know class'es and id's, you should understand how improve that.
     
    biiccs, Mar 2, 2011 IP
  3. Adulu

    Adulu Peon

    Messages:
    2,791
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thank you

    but i am CSS newbie, still can't improve it.
     
    Adulu, Mar 2, 2011 IP
  4. biiccs

    biiccs Member

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    31
    #4
    So, you have links, right? If you want to text link colour change to white when mouse pointer is over link, you will use:

    css
    
    a:hover {
         color: white;
    }
    
    Code (markup):
    That don't work for you? Or work? Let me know and I try to help you more.
     
    biiccs, Mar 2, 2011 IP
  5. Adulu

    Adulu Peon

    Messages:
    2,791
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Their background can change color.
    also, is it 1 row and many columns of html?

    thanks
     
    Adulu, Mar 2, 2011 IP