我剪掉了一堆我的代碼,以便找到我需要幫助的東西,我有一張圖片,當我將鼠標懸停在它上面時,它會更改圖片,但是如果我點擊它爲您帶來的圖片讓我說mywebsite.com ?? http://pastebin.com/h83yi3e3HTML和CSS製作一個圖像鏈接懸停效果?
代碼:
<html>
<head>
<style>
#buttonOne {width:140px;height:60px;background-image:url(buttonOne.png);}
#buttonOne:hover {width:140px;height:60px;background-image:url(buttonOneH.png);}
#buttonTwo {width:140px;height:60px;background-image:url(buttonTwo.png);}
#buttonTwo:hover {width:140px;height:60px;background-image:url(buttonTwoH.png);}
#buttonThree {width:140px;height:60px;background-image:url(buttonThree.png);}
#buttonThree:hover {width:140px;height:60px;background-image:url(buttonThreeH.png);}
</style>
</head>
<body>
<div id="buttonOne">
</div>
<div id="buttonTwo">
</div>
<div id="buttonThree">
</div>
</body>
</html>
你是什麼意思*它可以讓你說mywebsite.com * –