Javascript Reference
Categories: STYLE

javascript STYLE textShadow

@March 15, 2008, 1:22 a.m.
textShadowFirefox/Netscape/NN 6 IE 5(Mac) Chrome/Safari/DOM 2  

Read/Write  

Controls the specifications for shadow effects on the element's text. Although this property is a member of the style object in IE 5/Mac and Netscape 6, neither the style attribute nor scripted changes to it affect the element's text display.

 
Value

A string consisting of one or more shadow specifications. Each shadow specification consists of space-delimited values for a color, a length for the offset to the right of the text, a length for the offset below the text, and an optional blur radius value. Multiple shadow specifications are comma-delimited or a value of none to turn off the shadow.

 
Default

none


Powered by Linode.