C. Cascading Style Sheets Reference

This appendix lists the CSS 2.1 properties as defined by the W3C at www.w3.org/TR/CSS2.

The CSS 2.0 specification was standardized all the way back in May 1998, but as of this writing, some properties aren’t implemented in any browser. The next version, CSS 2.1, was at the Proposed Recommendation stage at the time this was written. The goal of the CSS 2.1 specification is to clarify CSS2 so that it is closer to what browser makers have actually implemented. This list is complete except for the aural properties (those used for speech synthesis for the visually disabled), which are not (at this time) modifiable by JavaScript.

Because this is a book about JavaScript, we’ve only touched on a few of the cool things you can do with CSS. If you want to learn more, we recommend Styling Web Pages with CSS: Visual QuickProject Guide by Tom Negrino and Dori Smith (hey, that’s us!).

Table C.1. Basic Concepts

Image

Table C.2. Pseudo-Elements and Pseudo-Classes

Image

Table C.3. Color and Background Properties

Image

Table C.4. Font Properties

Image

Image

Table C.5. Generated Content Properties

Image

Table C.6. Text Properties

Image

Table C.7. Box Properties

Image

Image

Table C.8. Visual Formatting Properties

Image

Image

Image

Image

Table C.9. Visual Effects Properties

Image

Table C.10. List Properties

Image

Table C.11. Table Properties

Image

Table C.12. Page Properties

Image

Table C.13. User Interface Properties

Image

Table C.14. Units

Image

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
52.14.172.93