View unanswered posts | View active topics It is currently Sun Jan 20, 2019 3:27 pm

Reply to topic  [ 3 posts ] 
 Semitransparent box, how to? 
Author Message

Joined: Mon Aug 20, 2012 10:07 am
Posts: 2
Post Semitransparent box, how to?
I managed to round the box I need my contents to be in with CSSPIE but I have a problem. The gradient is 100% opaque whereas I used the Microsoft gradient filter to make it semi-transparent, showing the background. I'd like to maintain that, is it possible? If I keep both, I get the faint semitrasparent outline (with square borders) and above it the opaque one with rounded corners. Help?
(I only need it to work on IE, since I have it set in a -if IE- warning and resort to border-radius and rgba for other browsers)

Mon Aug 20, 2012 10:12 am

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1452
Post Re: Semitransparent box, how to?
It's not clear from your description, is the element's background that you want to make semi-transparent a gradient or a solid color?

If a gradient, PIE is not able to do this right now (though limited support is in the unstable master code.)
If a solid color, you can simply use -pie-background with an rgba color

Mon Aug 20, 2012 1:41 pm

Joined: Mon Aug 20, 2012 10:07 am
Posts: 2
Post Re: Semitransparent box, how to?
I had to use a gradient (which was really a solid color, the gradient's two extremes being the same) to get transparent effect since IE didn't read rbga (and Alpha filter made the contents of the box transparent, not just the graphic), but I used rgba on PIE like you suggested and now it works wonders! Thanks a bunch! :D

Mon Aug 20, 2012 4:27 pm
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: Steeler [Crawler] 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.