-
hello,
does anyone know how to display partial transparency on the web. i need to layer a 64% opacity image over a 100% opacity table background image in a series of animations. i know that gif supports full transparency, but what about partial? thank you so much.
-orion
-
hello,
does anyone know how to display partial transparency on the web. i need to layer a 64% opacity image over a 100% opacity table background image in a series of animations. i know that gif supports full transparency, but what about partial? thank you so much.
-orion
-
GIF doesn't support an alpha channel. PNG does rather well, but neither IE nor Netscape 4 support that properly.
An alternative is to use styling to apply opacity to the image. There is no standard for this (though SVG's 'opacity' property may make it into CSS 3), but you can do it in Mozilla/N6 with the style '-moz-opacity: 0.64' and in IE with the style 'filter: alpha(opacity=64)'. Other browsers will display the non-transparent parts of the image as solid.