I'm making a Userstyle for the Avant site, but so far I got 2 problems:
1. I have "tbody>tr:hover{opacity: .75;}" and "td[class="genmed"]{opacity: 1 !important;}", but when I hover over the rd[class="genmed"] it becomes semitransparent. I need it solid always.
2. I need to hover over one picture, and have it replace a picture for another picture. I have no clue how to do this. So I have...
..but I also need ./img/tabs/support1.png to become ./img/tabs/support3.png
is lame. =/ Need 2nd one to be
1. I have "tbody>tr:hover{opacity: .75;}" and "td[class="genmed"]{opacity: 1 !important;}", but when I hover over the rd[class="genmed"] it becomes semitransparent. I need it solid always.
2. I need to hover over one picture, and have it replace a picture for another picture. I have no clue how to do this. So I have...
Code:
img[src="./styles/avantbrowser/theme/images/home1.png"]:hover,
img[src="./img/tabs/home1.png"]:hover
{
height: 0px !important;
width: 0px !important;
padding-left: 83px !important;
padding-top: 35px !important;
background: url(http://www.avantbrowser.com/img/tabs/home2.png) no-repeat !important;
}