CSS inserts transparent PNG (IE6 under PNG background transparent)

Source: Internet
Author: User
Tags filter
PNG image support Transparent ~ very good, but under the IE6 is not the correct display of transparent parts, use this CSS can solve this problem (there are other methods, but Baidu space can only use CSS ~_~) Filter:progid: Dximagetransform.microsoft.alphaimageloader (src= "PNG image Address", sizingmethod= "crop"); Add the above to the CSS. For example #in_send form td.f14 input {filter:progid:dximagetransform.microsoft.alphaimageloader (src=http://www.cxybl.com/ html/wyzz/css/"Http://cuiwei131.814e.com/5.png", sizingmethod= "crop"); height:64px; width:64px; padding-top:120px; font-size:1px; Border-right: #111 0px solid; Border-bottom: #111 0px solid; Border-top: #111 0px solid; Border-left: #111 0px solid; margin-left:203px; margin-top:-144px; Position:absolute; This transparent part of PNG can be displayed correctly under IE6 the other methods are not mentioned. Everyone find their own AH.


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.