shadow Filter

MS Office DHTML, HTML & CSS

shadow Filter


Paints a solid silhouette of the selected visual object along one of its edges, in the specified direction, creating the illusion of a shadow around the visual object.

Syntax

HTML<ELEMENT STYLE = "filter: shadow(sProperties)" ... >
Scriptingobject.style.filter = "shadow(sProperties)"

Possible Values

sProperties String that specifies one or more properties exposed by the filter.

Members

Example

This example uses the shadow filter to add a shadow effect to the text.

Sample Code

<STYLE>
   DIV.aFilter {filter: shadow(color=#0000FF,direction=45); width: 150; color: FF0000;}
</STYLE>

<DIV CLASS="aFilter">
This red text is displayed with a 45-degree blue shadow.
</DIV>

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:
Version data is listed when the mouse hovers over a link, or the link has focus.
BODY, BUTTON, DIV, IMG, INPUT type=button, INPUT type=checkbox, INPUT type=file, INPUT type=image, INPUT type=password, INPUT type=radio, INPUT type=reset, INPUT type=submit, INPUT type=text, MARQUEE, runtimeStyle, SPAN, style, TABLE, TD, TEXTAREA, TH

Back to topBack to top

Did you find this topic useful? Suggestions for other topics? write us!Internet Link

© 1999 microsoft corporation. all rights reserved. terms of useInternet Link.