topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 1:34 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: PNG Transparency in IE6 print preview  (Read 4198 times)

Archana

  • Participant
  • Joined in 2007
  • *
  • default avatar
  • Posts: 2
    • View Profile
    • Donate to Member
PNG Transparency in IE6 print preview
« on: December 02, 2007, 02:54 AM »
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

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 649
  • spinning top
    • View Profile
    • nontroppo.org
    • Donate to Member
Re: PNG Transparency in IE6 print preview
« Reply #1 on: December 02, 2007, 06:18 AM »
Have you tried the behaviours method?

http://bjorkoy.com/p..._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...
FARR Wishes: Performance TweaksTask ControlAdaptive History
[url=http://opera.com/]

Archana

  • Participant
  • Joined in 2007
  • *
  • default avatar
  • Posts: 2
    • View Profile
    • Donate to Member
Re: PNG Transparency in IE6 print preview
« Reply #2 on: December 02, 2007, 06:40 AM »
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

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 649
  • spinning top
    • View Profile
    • nontroppo.org
    • Donate to Member
Re: PNG Transparency in IE6 print preview
« Reply #3 on: December 02, 2007, 08:51 AM »
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?
FARR Wishes: Performance TweaksTask ControlAdaptive History
[url=http://opera.com/]

nontroppo

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 649
  • spinning top
    • View Profile
    • nontroppo.org
    • Donate to Member
Re: PNG Transparency in IE6 print preview
« Reply #4 on: December 02, 2007, 09:11 AM »
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...
FARR Wishes: Performance TweaksTask ControlAdaptive History
[url=http://opera.com/]