The national stationmaster moved to mourn the death of the compatriots in the earthquake to change the homepage to Gray

Source: Internet
Author: User

Intermediary transaction SEO diagnosis Taobao guest Cloud host technology Hall

In order to mourn the loss of compatriots in Sichuan Yaan earthquake, to mourn for the convenience of the site, we provide the CSS filter code to express our condolences. The following is the full station CSS code.

HTML {filter:progid:DXImageTransform.Microsoft.BasicImage (grayscale=1);}

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.

If your Web site does not use CSS, you can insert it between the HTML code <head> and </head> of the page/template:

&lt;style&gt; html{filter:progid:dximagetransform.microsoft.basicimage (grayscale=1);} &lt;/style&gt;

There are some webmaster sites that may use this CSS not to take effect because the website does not use the latest Web standard protocol

&lt;! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd "&gt; &lt;html xmlns=" http://www.w3.org/1999/xhtml "&gt;

Please replace the top of the page with the above code.

There are some Web site Flash animation colors can not be controlled by CSS filters, the Flash code <object ...> and </object> inserted between:

&lt;param value= "false" name= "menu"/&gt; &lt;param value= "opaque" name= "wmode"/&gt;

The simplest code to turn the page into Gray is to add

&lt;style type= "text/css" &gt; HTML {filter:gray &lt;/style&gt;

The General Discuz Forum is modified under your control CSS file

/images/header/header.css This file, point source can see the reference

Effect Demonstration: http://www.vaeoo.com

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.