A DTD for Attribute-Based Baseball Statistics .................................................300
Declaring SEASON Attributes in the DTD ................................................301 Declaring LEAGUE and DIVISION Attributes in the DTD .......................301 Declaring TEAM Attributes in the DTD ...................................................302 Declaring PLAYER Attributes in the DTD ................................................302 The Complete DTD for the Baseball Statistics Example .......................304
Chapter 11: Embedding Non-XML Data ....................................................307
What Is CSS? ..........................................................................................................323 Attaching Style Sheets to Documents ...............................................................324 Selection of Elements ..........................................................................................327 Grouping Selectors .....................................................................................328 Pseudo-Elements ........................................................................................328 Pseudo-Classes ...........................................................................................330 Selection by ID ............................................................................................332 Contextual Selectors ..................................................................................332 STYLE Attributes ........................................................................................333 Inheritance ............................................................................................................334 Cascades ...............................................................................................................335 The @import Directive ...............................................................................336 The !important Declaration .......................................................................336 Cascade Order ............................................................................................337 Comments in CSS Style Sheets ...........................................................................337 CSS Units ...............................................................................................................338 Length values ..............................................................................................339 URL Values ...................................................................................................341 Color Values ................................................................................................342 Keyword Values ..........................................................................................343 Block, Inline, and List Item Elements .................................................................344 List Items .....................................................................................................347 The whitespace Property ..........................................................................350 Font Properties .....................................................................................................352 The font-family Property ...........................................................................352 The font-style Property .............................................................................354 The font-variant Property .........................................................................355 The font-weight Property ..........................................................................356