Appendix B. Style Sheet Quick Reference


Cascading Style Sheets enable Web authors to attach styles (for example, fonts, spacing, and colors) to HTML documents. By separating the presentation style of documents from the content of documents, the style sheet specification simplifies Web authoring and site maintenance. This appendix provides a quick reference to some of the most common style sheet properties.

Note

This appendix is based on the information provided in the CSS 2.1 Specification W3C Recommendation (revised on June 15, 2005). The latest version of this standard can be found at www.w3.org/TR/CSS21/.


To make the information readily accessible, this appendix organizes style sheet properties by their function in the following order:

  • Text and fonts

  • Typography

  • Colors and backgrounds

  • Borders and tables

  • Lists

  • Layout

The elements are listed alphabetically within each section, and the following information is presented:

  • Usage A general description of the property.

  • Values Lists the values of the property with a short description of their effect.

  • Initial Value Lists the default value of the property. It is not necessary to set this value.

  • Notes Relates any special considerations when using the property.



Sams Teach Yourself HTML in 10 Minutes
Sams Teach Yourself HTML in 10 Minutes (4th Edition)
ISBN: 067232878X
EAN: 2147483647
Year: 2004
Pages: 151
Authors: Deidre Hayes

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net