I am creating a special user interface control using HTML / CSS to mimic the buttons of the Windows 7 control panel. So far I have a layout and now I would like to add cosmetics to it.
As you can see here, there is a gradient that appears when you hover over a button.
http://m.cncfps.com/zack/files/this-control.png
Now you can see here that I have a layout. I would like to add an effect :hoverto the whole div element with a background image.
This is currently what I have for CSS, but it does not work. IE8 does not display image, or FireFox
EDIT: It works in Chrome, but not in FireFox or IE.
#cp .cp-item:hover
{
background:url(images/hoverbg.png) repeat-x;
}
However, it works with background-color, not with, the image.