Chapter 13 of The XML 1.1 Bible, CSS Layouts
Listing 13-1: A Synopsis of Shakespeare’s Twelfth Night in XML
Listing 13-2: A Very Simple Style Sheet for the Synopsis of a Play
Listing 13-3: A Style Sheet for the Synopsis of a Play That Only Shows the Locations
Listing 13-4: A Style Sheet That Formats Synopses as Tables
Listing 13-5: A Style Sheet for a Play Synopsis That Uses List Items
Listing 13-6: Extra Space on the Top Margin of Each Act
Listing 13-7: Adding a 1-Centimeter Margin on Each side of the SYNOPSIS
Listing 13-8: Bordering the SYNOPSIS
Listing 13-9: Using Borders to Produce Horizontal Rules
Listing 13-10: Padding the Border
Listing 13-11: A Style Sheet That Sets a Fixed Size for the TITLE Element
Listing 13-12: A Style Sheet That Adjusts the Position of the TITLE Element
Listing 13-13: A Floating TITLE
Copyright 2004
Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified March 1, 2004