I want to display 3 different rollover image on mouse hover over of 3 different<a> element. For this i have use following mechanism but this doesn't solve any purpose. this is as follows:-
#item1 a {
position: absolute;
background-image:url("../images/step1_without_rollover.gif");
}
#item1 a:hover
{
position: absolute;
background-image:url("images/step1_rollover.gif");
}
#item2 a{
position: absolute;
background-image:url("../images/step2_without_rollover.gif");
}
#item2 a:hover {
position: absolute;
background-image:url("../images/step2_rollover.gif");
}
#item3 a{
position: absolute;
background-image:url("../images/step3_without_rollover.gif");
}
#item a:hover {
position: absolute;
background-image:url("../images/step3_rollover.gif");
}
NOTE: i have only begining knowledge of CSS. it is registration process classified into 3 steps.
Thanks !!