José Gustavo Posted August 22, 2011 Report Share Posted August 22, 2011 (edited) Tenho a seguinte tabela:<table> <td width="149" height="16" background="013.png" style="cursor:hand"> <font face="verdana" size="1" color="white">Página Inicial</font> </td> </table>E queria que ao passar o mouse em cima mudasse o background dessa célula, que código uso? Edited August 22, 2011 by José Gustavo Quote Link to comment Share on other sites More sharing options...
0 Linkbes Posted August 23, 2011 Report Share Posted August 23, 2011 Já pensou usando jQuery ? Quote Link to comment Share on other sites More sharing options...
0 kuroi Posted August 24, 2011 Report Share Posted August 24, 2011 você pode usar o selector hover: http://www.w3schools.com/cssref/sel_hover.aspse quiser fazer com javascript, altere a propriedade .style.backgroundImage (http://www.w3schools.com/cssref/pr_background-image.asp) nos eventos onmouseover e oumouseout. Quote Link to comment Share on other sites More sharing options...
Question
José Gustavo
Tenho a seguinte tabela:
E queria que ao passar o mouse em cima mudasse o background dessa célula, que código uso?
Edited by José GustavoLink to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.