The tutorial of helper home (www.bkjia.com) has been engaged in web page design for many years. Every time you encounter a problem, you will waste a lot of time searching for special effect code of JavaScript (java script, therefore, every lazy
Solution for failure of transparent effect (with gray background) of PNG images under IE6
Time:
Source:Yitian Interconnection
Author:Admin
Click:
182 times
Solve the Problem of PNG transparency failure in IE6. PNG-IE6. PNG is transparent
There are many different types of image formats, the most common on the Internet are JPEG, GIF, BMP, TIFF, and PNG. Each image format has its own purpose, such as GIF is used for animation, JPEG is used for high-definition pictures, this image will
In front-end web development, background or image transparency is often required.
First, we are currently facing the following situations:1. In common browsers such as ie7 +, firefox, safari, and opera, it is no problem to directly use transparent
Recently, I used metinfo 5.0 to build my own small site. The feature is quite good and useful. I found many small problems and I have done almost the same thing. I am too lazy to switch to other cms, fix it by yourself ~
Problem 1: The image
Transparent images can be displayed more perfectly on the webpage through css settings, but in ie6, the transparent background is displayed with a gray background. This is really a very unpleasant bug. Let's share a method to completely solve the
P.S. Change the image upload class original address: http://blog.csdn.net/a957651480/article/details/23124257
Chk_err (-1); No incoming control name}else{$this->inputname = $inputName;} if (!empty ($allowType)) $this->allowtype = $allowType,
Now IE6 although some backward, but many XP users are preferred IE6 browser, a classic long-term standard Fast browser will inevitably have loyal users, PNG icon IE6 under the default is not supported, can be achieved by JS code, the following from
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.