array('UTF-8', 'en'),
'home' => array('content.html', 'CSS2 Manual'),
'this' => array('content.html', 'Full Table of Contents'),
'next' => array('cover.html', 'CSS2 Specification'),
'toc' => array(
array('content.html', 'Full Table of Contents', 0),
array('cover.html', 'CSS2 Specification', 1),
array('about.html', '1 About the CSS2 Specification', 1),
array('intro.html', '2 Introduction to CSS2', 1),
array('conform.html', '3 Conformance: Requirements and Recommendations', 1),
array('syndata.html', '4 CSS2 syntax and basic data types', 1),
array('selector.html', '5 Selectors', 1),
array('cascade.html', '6 Assigning property values, Cascading, and Inheritance', 1),
array('media.html', '7 Media types', 1),
array('box.html', '8 Box model', 1),
array('visuren.html', '9 Visual formatting model', 1),
array('visudet.html', '10 Visual formatting model details', 1),
array('visufx.html', '11 Visual effects', 1),
array('generate.html', '12 Generated content, automatic numbering, and lists', 1),
array('page.html', '13 Paged media', 1),
array('colors.html', '14 Colors and Backgrounds', 1),
array('fonts.html', '15 Fonts', 1),
array('text.html', '16 Text', 1),
array('tables.html', '17 Tables', 1),
array('ui.html', '18 User interface', 1),
array('aural.html', '19 Aural style sheets', 1),
array('sample.html', 'Appendix A. A sample style sheet for HTML 4.0', 1),
array('changes.html', 'Appendix B. Changes from CSS1', 1),
array('notes.html', 'Appendix C. Implementation and performance notes for fonts', 1),
array('grammar.html', 'Appendix D. The grammar of CSS2', 1),
array('refs.html', 'Appendix E. References', 1),
array('propidx.html', 'Appendix F. Property index', 1),
array('descidx.html', 'Appendix G. Descriptor index', 1),
array('indexlist.html', 'Appendix H. Index', 1)
)));
manual_header();
?>
REC-CSS2-19980512
Cascading Style Sheets, level 2
CSS2 Specification
W3C Recommendation 12-May-1998
- 1 About the CSS2 Specification
- 2 Introduction to CSS2
- 3 Conformance: Requirements and Recommendations
- 4 CSS2 syntax and basic data types
- 5 Selectors
- 6 Assigning property values, Cascading, and Inheritance
- 7 Media types
- 8 Box model
- 8.1 Box dimensions
- 8.2 Example of margins, padding, and borders
- 8.3 Margin properties: 'margin-top', 'margin-right', 'margin-bottom', 'margin-left', and 'margin'
- 8.4 Padding properties: 'padding-top', 'padding-right', 'padding-bottom', 'padding-left', and 'padding'
- 8.5 Border properties
- 8.5.1 Border width: 'border-top-width', 'border-right-width', 'border-bottom-width', 'border-left-width', and 'border-width'
- 8.5.2 Border color: 'border-top-color', 'border-right-color', 'border-bottom-color', 'border-left-color', and 'border-color'
- 8.5.3 Border style: 'border-top-style', 'border-right-style', 'border-bottom-style', 'border-left-style', and 'border-style'
- 8.5.4 Border shorthand properties: 'border-top', 'border-bottom', 'border-right', 'border-left', and 'border'
- 9 Visual formatting model
- 10 Visual formatting model details
- 10.1 Definition of "containing block"
- 10.2 Content width: the 'width' property
- 10.3 Computing widths and margins
- 10.4 Minimum and maximum widths: 'min-width' and 'max-width'
- 10.5 Content height: the 'height' property
- 10.6 Computing heights and margins
- 10.6.1 Inline, non-replaced elements
- 10.6.2 Inline, replaced elements block-level, replaced elements in normal flow, and floating, replaced elements
- 10.6.3 Block-level, non-replaced elements in normal flow, and floating, non-replaced elements
- 10.6.4 Absolutely positioned, non-replaced elements
- 10.6.5 Absolutely positioned, replaced elements
- 10.7 Minimum and maximum heights: 'min-height' and 'max-height'
- 10.8 Line height calculations: the 'line-height' and 'vertical-align' properties
- 11 Visual effects
- 12 Generated content, automatic numbering, and lists
- 13 Paged media
- 14 Colors and Backgrounds
- 15 Fonts
- 15.1 Introduction
- 15.2 Font specification
- 15.3 Font selection
- 15.3.1 Font Descriptions and @font-face
- 15.3.2 Descriptors for Selecting a Font: 'font-family', 'font-style', 'font-variant', 'font-weight', 'font-stretch' and 'font-size'
- 15.3.3 Descriptors for Font Data Qualification: 'unicode-range'
- 15.3.4 Descriptor for Numeric Values: 'units-per-em'
- 15.3.5 Descriptor for Referencing: 'src'
- 15.3.6 Descriptors for Matching: 'panose-1', 'stemv', 'stemh', 'slope', 'cap-height', 'x-height', 'ascent', and 'descent'
- 15.3.7 Descriptors for Synthesis: 'widths', 'bbox' and 'definition-src'
- 15.3.8 Descriptors for Alignment: 'baseline', 'centerline', 'mathline', and 'topline'
- 15.3.9 Examples
- 15.4 Font Characteristics
- 15.5 Font matching algorithm
- 16 Text
- 17 Tables
- 18 User interface
- 19 Aural style sheets
- Appendix A. A sample style sheet for HTML 4.0
- Appendix B. Changes from CSS1
- Appendix C. Implementation and performance notes for fonts
- Appendix D. The grammar of CSS2
- Appendix E. References
- Appendix F. Property index
- Appendix G. Descriptor index
- Appendix H. Index