Transparent background
This is just a small hack to menage transparent background using CSS. Firefox have no problem with adding transparent image as background but IE does.
Make transparent background image like 10×10 pixels. You can simply make black image and make it 50% transparent. Save it as png or gif. This will be used as background image. So here’s the code:
/* This is IE part of hack. */
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale, src='transparent_bg.png');
/* This is standard way of doing this which is fine with FF. */
background: url(transparent_bg.png);
However this is not a valid CSS code so if you need it - you can use it but W3C does not allow this.


