December 18th, 2003, 08:10 AM
CSS filter application to images?
<img... style="filter: shadow(color=#000000);">
i don't know how to set up the filter so that it works correctly..
document.images.style = "filter:shadow(color=#000000);"
December 18th, 2003, 11:00 AM
thats the right code...
not sure if imgs like shadows...?
anyway good lucky!!
"I hate quotations."
-ralph waldo emerson-
December 19th, 2003, 05:25 PM
okay.. the code works...
how do I offset the shadow so that it appears to the right and bottom of the img?
i only see the shadow before the images load, but once the do no more shadow because the img covers it up...
nevermind... i applied the filter to the entire table rather than the img itself, and voila! a shadow.. but the question remaines how to offset the shadow?
Last edited by jsKid; December 19th, 2003 at 05:28 PM.
December 20th, 2003, 03:19 AM
Here is a tutorial that might help you. Remember that filters are an MS proprietary extension set and don't work on other browsers.
Last edited by kk5st; December 20th, 2003 at 03:50 AM.
There are those who manage to build a web site without knowing what they're doing; thereby proving to themselves they do, indeed, know what they're doing.
My html and css workshop
, demos and tutorials.
Ask a better question
, get a better answer.
December 27th, 2003, 07:25 PM
i didn't know that filters only applied to MS IE...
i read through the page that you suggested but did not find out how to apply the dropshadow filter to the top/bottom/right side of an image/text...
anybody have an idea?
thanks again for the help so far..