CSS实现鼠标经过图片有黑白变为彩色

来源:岁月联盟 编辑:zhu 时间:2008-11-05
CSS实现鼠标经过图片有黑白变为彩色内容简介:!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd html xmlns=http://www.w3.org/1999/xhtml head meta http-equiv= <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=gb2312" />
<title>CSS实现鼠标经过图片由黑白变彩色</title>
<style><!--body,td{font-size: 12px;}--></style>
<STYLE type=text/css>
A IMG {
FILTER: gray
}
A:hover IMG {FILTER:
}
</STYLE>
</head>
<body bgcolor="" 无>
<table width="100%" height="1000" border="0" cellpadding="10" cellspacing="5">
<tr>
<td valign="top">
<A href=><IMG src="图片.jpg" border="0"></A>
</td>
</tr>
</table>
</body>
</html>

图片内容