The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › img inline styles drop shadow on a transparent png/gif
Hi, I Know of box-shadow & text shadow but how to make an unusually shaped transparent png/gif cast a shadow with css or inline styles to look something like this:
http://img521.imageshack.us/img521/8595/shapeu.png
(Preferably without javascript but not ruling it out)
Thanks in advance Lollie
You could give the <img> element a background-image of the shadow. This would require 2 images though, and it wouldn’t be dynamic.