ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Main Area and Open Discussion > General Software Discussion

PNG Transparency in IE6 print preview

(1/1)

Archana:
Hi,

I am using transparent png image in my html page. To acheive transparency in IE6 i am using the following code :
* html #nav-left #graphic-float {
  background-image:none;
  filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=crop, src=images/graphic-bycycle.png);
}

For printing the html page i am using separate print.css file. I am able to get all the image in printing but the transparency is not been acheived. Could any of u help me regarding acheiving transparency while printing.

Thank you in advance,

Regards
Archana

nontroppo:
Have you tried the behaviours method?

http://bjorkoy.com/past/2007/4/8/the_easiest_way_to_png/
http://www.twinhelix.com/css/iepngfix/

Honestly, most IE6 PNG hacks are brittle and inelegant. Microsoft should have simply fixed this glaring bug years before they did. The amount of energy web developers have expended working round this is not worth thinking about...

Archana:
I tried with iepngfix.htc also but not able to acheive transparency, i acheived transparency using
* html #nav-left #graphic-float {
  background-image:none;
  filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=crop, src=images/graphic-bycycle.png);
}

but while printing the image is not being displayed in page 1 but the remaining image is being displayed in 2nd page.

Could u suggest me what would be done to display in both the pages?

nontroppo:
I don't have IE6 to test so I can't offer you more advice (it was nearly two years ago that I fought t=with IE6 to get PNG transparency, I vowed to never do that again). Why did iepngfix not work? Do you have a test page?

nontroppo:
Have you tried the most amazingly awesome IE6 hack:

http://dean.edwards.name/IE7/

His reverse engineering of the broken anaemic IE rendering engine is amazing work...

Navigation

[0] Message Index

Go to full version