CSS enables the image to change from black and white to color when the mouse passes over it
Author:Eve Cole
Update Time:2009-06-12 17:47:46
<!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>