CSS3 PIE Forums
http://css3pie.com/forum/

Border transparency confirmation
http://css3pie.com/forum/viewtopic.php?f=4&t=493
Page 1 of 1

Author:  MikeonTV [ Mon Feb 14, 2011 2:37 pm ]
Post subject:  Border transparency confirmation

Hi there. I want to have have my border be transparent by .5 using RGBA cross browser and was wondering if PIE will work for this.

Code:
#element {
color: #fff;   
height:300px;
padding:10px;
border:10px solid rgba(255,255,255,.5);
behavior: url('PIE.htc'); }   
 


Why does this not work in IE?

Author:  jason [ Mon Feb 14, 2011 4:01 pm ]
Post subject:  Re: Border transparency confirmation

You're right, that won't currently work. The reason is that IE knows natively what the 'border' style is, but doesn't know what an rgba() value is, so it throws away the whole border style.

To support this, we'll have to implement a custom -pie-border property and use that, like we do with -pie-background.

Author:  MikeonTV [ Tue Feb 15, 2011 10:24 am ]
Post subject:  Re: Border transparency confirmation

Okay. Is that being worked on or shall I do it?

Author:  jason [ Tue Feb 15, 2011 12:29 pm ]
Post subject:  Re: Border transparency confirmation

It's not currently being worked on. If you'd like to take it on, by all means go for it! :)

Page 1 of 1 All times are UTC - 7 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/