今天是全国哀悼日,网页都做成了灰色了!如何做?!

今天是全国哀悼日!距离上次5.12地震2年不到! 中国再次遭遇到地震!4.14玉树7.1级地震。

天佑中华,向逝去的同胞致以沉痛的哀悼!!!

今天打开网站!许多网站都是全是灰色的!都是为死去的同胞哀悼!那是如何做到的呢?

<%@ Page Language="C#" %>



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">



<script runat="server">



</script>



<html xmlns="http://www.w3.org/1999/xhtml">

<head id="Head1" runat="server">

    <title></title>

    <style type="text/css">

        *{ Filter: Gray;} //滤镜效果!IE支持,FF不支持

    </style>

</head>

<body style="background-image:url('images/ZhouHaiMei01.jpg');">

    <form id="form1" runat="server">

    <div style="background-color:Olive; height:100px; width:100%;">

     天佑中华,向逝去的同胞致以沉痛的哀悼!

    </div>

    <div style="background:blue; height:100px; width:100%;">天佑中华,向逝去的同胞致以沉痛的哀悼</div>

    </form>

</body>

</html>
把上面图片换为你的图片! 运行就可以看到效果了哦!
1 2 
以上 第一个为IE运行效果,第二个为FF运行效果!
 
愿逝者安息!生者活的更好!
 

你可能感兴趣的:(网页)