prajwala
12-19-2007, 11:57 AM
I have created a submit button.want to chage the image on rollover.
My code is :
IN HTML :-
<input type="submit"/>
IN CSS :-
input[type=submit]{
background-image:url(images/blue_btn.gif);
background-repeat:no-repeat;
width:99px;
height:37px;
}
input[type=submit]:hover{
background-image:url(images/yellow_btn.gif);
background-repeat:no-repeat;
width:99px;
height:37px;
}
Its working fine in FF but its not working in IE :(
Thanks in advance :)
My code is :
IN HTML :-
<input type="submit"/>
IN CSS :-
input[type=submit]{
background-image:url(images/blue_btn.gif);
background-repeat:no-repeat;
width:99px;
height:37px;
}
input[type=submit]:hover{
background-image:url(images/yellow_btn.gif);
background-repeat:no-repeat;
width:99px;
height:37px;
}
Its working fine in FF but its not working in IE :(
Thanks in advance :)