Forums
View unanswered posts | View active topics It is currently Fri Oct 24, 2014 9:25 am



Reply to topic  [ 5 posts ] 
 Weird grey background when semi-transparent PNG 
Author Message

Joined: Fri Aug 27, 2010 1:43 pm
Posts: 7
Post Weird grey background when semi-transparent PNG
I have a PNG that is just a 1 by 1 pixel with 30% opacity. When I use csspie on it, it shows a #606060 grey underneath it. Why?

Test here: http://meyers.ipalaces.org/pie.html

if you try to do just background-color: transparent; you'll see the grey


Fri Aug 27, 2010 1:45 pm
Profile

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1446
Post Re: Weird grey background when semi-transparent PNG
It's because of this: http://github.com/lojjic/PIE/issues#issue/12

It's the shape for the box-shadow displaying solid behind the background. I haven't figured out how to get around this yet.


Fri Aug 27, 2010 6:55 pm
Profile

Joined: Fri Aug 27, 2010 1:43 pm
Posts: 7
Post Re: Weird grey background when semi-transparent PNG
Thats a shame.

It does apply to a real life design, given yours and mine. I am attempting to get a "glass" or aero look and naturally that envolves transparency and glows (which I wanted to use box shadows).

Is there anyway to disable the csspie's box shadow feature until its perfected?
I'll take a look at the code but I am going to assume its over my head, ill report back here what I find.


Fri Aug 27, 2010 9:55 pm
Profile

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1446
Post Re: Weird grey background when semi-transparent PNG
You can disable the box shadow in PIE only by using the -pie- prefixed override rule:

Code:
-pie-box-shadow: none;


That allows you to keep the standard box-shadow property intact for other browsers.


Sat Aug 28, 2010 8:41 am
Profile

Joined: Fri Aug 27, 2010 1:43 pm
Posts: 7
Post Re: Weird grey background when semi-transparent PNG
Thanks a lot jason.

Can I pay someone to get this fix done quicker?


Mon Aug 30, 2010 5:26 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: Bing [Bot], Yahoo [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.