IN THIS CHAPTER
Useful CSS Manipulation
CSS can be a powerful tool for creating well-formatted documents. This chapter describes how you can change a CSS property in various user agents to lend a dynamic nature to documents. Here, you'll learn how to access CSS properties and script them to perform tasks, such as change text colors. You'll see that every CSS property can be changed programmatically.
You'll also find that some browsers, most notably Internet Explorer, feature CSS-like syntax for creating dynamic filtered effects such as drop shadows and blurs.
Generally, CSS properties are all accessed the same way, via reading values as properties and setting values via methods. To access the CSS properties in script, you use the property name, unless there's a hyphen in the name. In the case of hyphenated property names, delete the hyphen and uppercase the next letter. The rest of the property name remains in lowercase. ...