thientanchuong
11-10-2010, 10:49 AM
I have 2 different images:
meobay.gif
http://img837.imageshack.us/img837/4831/meobay.gif
and
thankyou.gif
http://img258.imageshack.us/img258/6564/thankyouo.gif
My problem is when an user move his mouse over the image of meobay.gif, my code can not change meobay.gif to thankyou.gif
Please help me out with my code:
HTML:
<div id="rightCV">
<a href="Doc/WebDeveloper.pdf"><img src="CSS/images/meobay.gif"/></a>
</div>
CSS:
#rightCV{
position: absolute;
right: 270px;
margin-top:87px;
}
img {
width:230px;
height:170px;
border: none;
background-repeat:no-repeat;
}
img:hover{
background-image: url(images/thankyou.gif);
border: none;
}
meobay.gif
http://img837.imageshack.us/img837/4831/meobay.gif
and
thankyou.gif
http://img258.imageshack.us/img258/6564/thankyouo.gif
My problem is when an user move his mouse over the image of meobay.gif, my code can not change meobay.gif to thankyou.gif
Please help me out with my code:
HTML:
<div id="rightCV">
<a href="Doc/WebDeveloper.pdf"><img src="CSS/images/meobay.gif"/></a>
</div>
CSS:
#rightCV{
position: absolute;
right: 270px;
margin-top:87px;
}
img {
width:230px;
height:170px;
border: none;
background-repeat:no-repeat;
}
img:hover{
background-image: url(images/thankyou.gif);
border: none;
}