Web page color change black and white code
1, for the convenience of site mourning, special provide CSS filter code, to table mourning. The following is the full station CSS code.
HTML {filter:progid:DXImageTransform.Microsoft.BasicImage (grayscale=1);} |
or
Usage: This code can change the page to black and white, add code to the top of the CSS can achieve goose. Suggested the national stationmaster to move up. Mourn for the people who died in the earthquake.
2, if the site does not use CSS, you can insert the page/template HTML code
<style> Html{filter:progid:dximagetransform.microsoft.basicimage (grayscale=1);} </style> |
3, some webmaster sites may use this CSS can not be effective because the site does not use the latest Web page standard protocol
<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd "> |
Please replace the head <html> of the page with the above code.
4, there are some Web site Flash animation colors can not be controlled by the CSS filter, the Flash code in the <object ...> and </object> inserted between:
<param value= "false" name= "menu"/> <param value= "opaque" name= "wmode"/> |
5, the simplest code to turn the page into Gray is to add
between the head
<style type= "Text/css" > HTML { Filter:gray } </style> |
6, the General Discuz forum under your control CSS file to modify
CSS files in the forum bbs/templates/your style folder in the Css_common.htm
Other methods ditto
above methods can only be implemented in IE browser, Firefox temporarily did not find a way to know that can be added.
*{filter:gray; color:gray;} |