CD-566 Part VI . Appendixes Chapter 30 Examples (Web design service)
CD-566 Part VI . Appendixes Chapter 30 Examples The following sections contain examples from Chapter 30, Style sheet and Style Objects. styleSheet Object Properties cssRules NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility ( )( ) Example Use The Evaluator (Chapter 13) to look at the cssRulesproperty in NN6+ or IE5+/Mac. First, view how many rules are in the first styleSheet object of the page by entering the following statement into the top text box: document.styleSheets[0].cssRules.length Now use the array with an index value to access one of the rule objects to view the rule object s properties list. Enter the following statement into the bottom text box: document.styleSheets[0].cssRules[1] You use this syntax to modify the style details of an individual rule belonging to the styleSheet object. cssText NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility styleSheetObject.cssText
In case you need quality webspace to host and run your web applications, try our personal web hosting services.