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

Cloud Intelligence Leading the Digital Future

Alibaba Cloud ACtivate Online Conference, Nov. 20th & 21st, 2019 (UTC+08)

Register Now >

11.11 Big Sale for Cloud

Get Unbeatable Offers with up to 90% Off,Oct.24-Nov.13 (UTC+8)

Get It Now >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

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.