- 论坛徽章:
- 0
|
- <!DOCTYPE html>
- <html>
- <head>
- <title>test_1.html</title>
-
- <meta name="keywords" content="keyword1,keyword2,keyword3">
- <meta name="description" content="this is my page">
- <meta name="content-type" content="text/html; charset=UTF-8">
-
-
-
- <style type="text/css">
-
- a:link img {
- filter:"gray";
- }
- a:hover img {
- filter:"";
- }
- </style>
-
- <!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
- </head>
-
- <body>
- <a href="#"><img src="F:\Myeclipse\workspace\css_1\WebRoot\images\3.jpg" width="200"/></a>
- <a href="#"><img src="F:\Myeclipse\workspace\css_1\WebRoot\images\4.jpg" width="200"/></a>
-
- </body>
- </html>
复制代码 想让图片变成灰色,结果一点效果都没有,是不是代码哪里出问题了,求指出! |
|