These examples are based on CSS: text shadows by Bert Bos. See the CSS2 text-shadow specification for syntax. Please note that offsets can only be defined in pixels and that blur is not supported at all.
Additional limitations since the release of Internet Explorer 8: One element may only have two shadows, and they may not have varying levels of opacity.