作者cgcat (小綿羊趕集)
看板Web_Design
標題[問題] 幫我看看語法.....謝謝!
時間Wed Dec 13 13:57:36 2006
我想做滑鼠移到圖片上自動放大映像的功能
功能是都有出來
可是不知道為什麼圖片外面會有藍色的框線
怎麼消掉呢!!
以下是我寫的語法
<title>無標題文件</title>
<style type="text/css">
<!--
#skyimg a img{
filter:alpha(opacity=60);
width:500px;
height:auto
}
#skyimg a:hover img{
filter:alpha(opacity=100);
width:550px;
height:auto
}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: none;
}
a:active {
text-decoration: none;
}
</style>
</head>
<body>
<div id="skyimg">
<table width="200" border="0">
<tr>
<td><a href="#"><img
src="file:///C|/Documents%20and%20Settings/asia%20color/桌面/作品/大盒-曲線.jpg"
width="500" height="153" class="skyimg"></a></td>
</tr>
</table>
</div>
</body>
</html>
謝謝高手解答阿!!
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.228.26.90
推 Phill:img的屬性 border=0 ^^ 12/13 14:04
推 bcse:#skyimg a img{border:0} 12/13 14:14
→ cgcat:謝謝你.......您真內行...... 12/13 14:06