SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member WAHParents's Avatar
    Join Date
    Feb 2006
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to create mouseover effect

    I am trying to figure out how to create a mouseover effect in my stylesheet. I just want to change the font color with the mouseover.

    Thanks so much!

    Mindy

  2. #2
    SitePoint Member Emerick's Avatar
    Join Date
    Sep 2007
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    use the :hover psuedo selector in a new style, you only need to specify additional styling on rollover. Like so...

    a:hover {
    color: #FFF;
    /* whatever styles */
    }

    For more help. http://www.w3schools.com/css/pr_pseudo_hover.asp


Bookmarks

Posting Permissions

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