Ie7 + background transparent text opacity super simple implementation method _ javascript skills

Source: Internet
Author: User
Tags transparent image
This article mainly introduces the simple implementation method of transparent text on the ie7 + background. If you need it, you can refer to it. If you are still worried about the opacity of transparent text on the background, we suggest you take a look. Of course, IE6 has been abandoned, so do not say that the PNG8 image is ineffective in IE6. Of course, you can also use a filter. I do not recommend using filters. This may cause other problems! (Such as being unable to click) the BUG, especially ie6. Run IE6!
The core of this article is to use the PNG32 transparent image as the background and then tile the background. In this way, no background transparent text is transparent. This is a simple task!
You only need to adjust the transparency of the image.
In the PSD, set the image transparency to 20% and save it as png.
(Do not set the mode to grayscale. This will change to png8. And there is no transparency .)
The background is transparent and the text is not transparent. Haha. Internet Explorer 6! Supported: IE7.0 +/FF3.0 +/Opera10 +/Chrome/Safari. All tests passed.
As follows:

The complete code is as follows:

The Code is as follows:






Ie7 + is a simple method with transparent background and text opacity



The background is transparent and the text is not transparent. Haha. IE 6.
Supported:
IE7.0 +/FF3.0 +/Opera10 +/Chrome/Safari
All tests passed. Transparency: 20%




The background is transparent and the text is not transparent. Haha. IE 6.
Supported:
IE7.0 +/FF3.0 +/Opera10 +/Chrome/Safari
All tests passed. Transparency: 20%




Related Article

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.