SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Enthusiast
    Join Date
    Apr 2006
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Removing a:hover{background-color} from linked images in IE

    Hello, how can I prevent the background color from showing on images with links when the mouse is over the image? It happens in IE but not FF. I have a a:hover { background-color: red} and its causing linked images to have a background-color on mouseover. Thought it'll be a easy problem but a search didnt reveal anything... Thnx!

  2. #2
    SitePoint Author silver trophybronze trophy

    Join Date
    Nov 2004
    Location
    Ankh-Morpork
    Posts
    12,159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    a:hover img {background-color:#fff}
    (or whatever background colour your page uses).
    Birnam wood is come to Dunsinane


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
  •