Forums
View unanswered posts | View active topics It is currently Sat May 25, 2013 4:27 pm



Reply to topic  [ 2 posts ] 
 Applying RGBA Background and Box-Shadow?? 
Author Message

Joined: Sun Jun 26, 2011 11:02 am
Posts: 1
Post Applying RGBA Background and Box-Shadow??
Hi there

Maybe this has asked before, but all answers I read I couldn't find the solution.

Problem: I am trying to use box-shadow and rgba with a transparency on a div container.

Code:
#textbox {
   position:absolute;
   width:300px;
   height:200px;
   font-family:verdana, Arial, Sans-Serif;
   z-index:100;
   /* Fallback for web browsers that doesn't support RGBa */
   background:rgb(255, 255, 255) transparent;
   /* RGBa with 0.85 opacity */
   background:rgba(255, 255, 255, 0.85);
   -pie-background:rgba(255, 255, 255, 0.85); /* For IE*/
   -o-box-shadow: 2px 2px 3px #c1c1c1;
   -moz-box-shadow: 2px 2px 3px #c1c1c1;
   -webkit-box-shadow: 2px 2px 3px #c1c1c1;
   box-shadow: 2px 2px 3px #c1c1c1; /*CSS3 Standard*/
   behavior:url(.../PIE.htc);
}


Problem is: Everything runs fine in Firefox, Opera, IE9, Safari. However in IE7 and IE8 I get either the rgba transparency to work or the box shadow. Both is not possible.
It seems like box-shadow is putting another filter on the box, and ruins the rgba values.

I read that rgba is not fully supported with PIE, especially if you use box-shadow.

Has anybody ideas or experiences or that?

THANKS
flymke


Sun Jun 26, 2011 11:10 am
Profile

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1396
Post Re: Applying RGBA Background and Box-Shadow??
https://github.com/lojjic/PIE/issues/12


Sun Jun 26, 2011 1:12 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 4 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.