LeaVerou/rgba.php — Issue #6: Difference in colour/transparency between Firefox and IE7
Author: ramasaig
Created: 2012-02-25 01:40:07+00:00
State: open

This looks like a great solution, and I've got it working OK. However, using the parameters from the first version (posted Feb 2009) I'm getting very different results between Firefox 8 and IE7.
The parameters are:
background: url(../inc/rgba.php?r=255&g=100&b=0&a=50) repeat;
background-color: rgba(255,100,0,0.5);

IE7 uses the first, and Firefox the second. The image in Firefox is much LESS transparent, and I have to change the transparency to '0.2' to get a result comparable to that in IE7. If I comment out the second line I get the same result in both browsers.