I have some transparent PNGs that I use in a site.
In order for them to work in IE6 and below I have used the following code:-
I have several PNG images I want to use this on, so was wondering if there's anyway of doing this dynamically instead of adding a class for each image? ie can the src= section have the path and image name passed to it using CSS?Code:#img_logo { filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled='true',src='images/logo_sm_png.png'); }
I'm not brilliant on CSS so unsure if this is possible or not.
Hope that makes sense.



LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks