Jis Anup
01-27-2011, 07:09 AM
I have added
<a href='javascript: submit_form();' class='ask_qns' ></a>Instead of form submit button. And I have add hover effect through css.
That code is like
.ask_qns
{
float:left;
width:366px;
height:34px;
background-image:url(images/home_askqn.jpg);
background-repeat:no-repeat;
}
.ask_qns:hover
{
float:left;
width:366px;
height:34px;
background-image:url(images/home_askqn_h.jpg);
background-repeat:no-repeat;
}
The problem is like for first time after loading the page mouseover effect is not coming. Button is disappearing for the first time of execution. After that its coming fine...
Please help me to solve this problem.
<a href='javascript: submit_form();' class='ask_qns' ></a>Instead of form submit button. And I have add hover effect through css.
That code is like
.ask_qns
{
float:left;
width:366px;
height:34px;
background-image:url(images/home_askqn.jpg);
background-repeat:no-repeat;
}
.ask_qns:hover
{
float:left;
width:366px;
height:34px;
background-image:url(images/home_askqn_h.jpg);
background-repeat:no-repeat;
}
The problem is like for first time after loading the page mouseover effect is not coming. Button is disappearing for the first time of execution. After that its coming fine...
Please help me to solve this problem.