Quote:
Originally Posted by VIPStephan
Which version of IE? In IE6 it’s not working because it doesn’t support the CSS attribute selector. You need to asign an ID to the input and apply the styles accordingly. I don’t know about IE 7, though, as I haven’t done that yet.
Also this <![endif]-->. Is this in your CSS file or where?
|
i tried the code using id but its not working
IN HTML :-
<input type="submit" id="test"/>
IN CSS :-
#test{
background-image:url(images/blue_btn.gif);
background-repeat:no-repeat;
width:99px;
height:37px;
}
#test:hover{
background-image:url(images/yellow_btn.gif);
background-repeat:no-repeat;
width:99px;
height:37px;
}