Examples from Chapter 15 of The XML Bible, Gold Edition: CSS Layouts
Listing 15-1: A synopsis of Shakespeare's Twelfth Night in XML
Listing 15-2: A very simple style sheet for the synopsis of a play
Listing 15-3: A style sheet for the synopsis of a play that only shows the locations
Listing 15-4: A style sheet that formats synopses as tables
Listing 15-5: A style sheet for a play synopsis that uses list items
Listing 15-6: Extra space on the top margin of each act
Listing 15-7: Adding a one centimeter margin on each side of the SYNOPSIS
Listing 15-8: Bordering the SYNOPSIS
Listing 15-9: Using borders to produce horizontal rules
Listing 15-10: Padding the border
Listing 15-11: A style sheet that sets a fixed size for the TITLE element
Listing 15-12: A style sheet that adjust the position of the TITLE element
Listing 15-13: A floating TITLEt
Listing 15-12: A style sheet that adjust the position of the TITLE element
Copyright 1999, 2001
Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified at February 2, 2001