CSS实现鼠标经过图片由黑白变彩色
2008-11-19 22:52:03 来源:WEB开发网核心提示: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xml
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml(标准化越来越近了)ns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=gb2312" />
<title>CSS实现鼠标经过图片由黑白变彩色--WEB开发网</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="http://tech.cncms.com/tech/UploadPic/2010107/2010107204848602.jpg" border="0"></A>
</td>
</tr>
</table>
</body>
</html>
<html xml(标准化越来越近了)ns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=gb2312" />
<title>CSS实现鼠标经过图片由黑白变彩色--WEB开发网</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="http://tech.cncms.com/tech/UploadPic/2010107/2010107204848602.jpg" border="0"></A>
</td>
</tr>
</table>
</body>
</html>
[]
赞助商链接