Translucency problem under IE6_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:08:56
Original
1102 people have browsed it






The above code will work in browsers other than IE6 The browser can see the image through the div layer, but IE6 cannot. Why?


Reply to discussion (solution)

filter:alpha(opacity=90); -moz-opacity:0.9; opacity: 0.9;

Try this code

Reading and replying is a virtue. . .

PNG images have various problems under IE6. If you search for a JS file on the Internet, it can help you make the transparency effect of PNG display normally under IE6.

PNG translucency is not supported under IE6, but you can use filters to solve this problem.
The specific writing methods of filters are available online.

There are too many ways. . . Baidu, it is recommended to use a JS package (just a js package similar to jquery)

A css that allows ie6 to support png transparency

background:url(../images/soilbg.png);	_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale, src="images/soilbg.png"); 	_background:none; 
Copy after login

IE6 does not support transparency, this is the boss Difficult problem, usually you can consider working on image processing

I tried a lot of translucent codes, but none of them worked, so I had to change it to gif.

...are you using ietester? If so, please switch to the native IE6 to see

IE6 does not support pan transparency, but the GIF format is fine.

Why is there another png background? Your top code does not only have one bgcolor

...are you using ietester? If so, please change to native IE6
The system is win7 and IE6 cannot be installed, but this should be the problem you mentioned.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template