Appendix A. voxLibris Code

voxLibris Code

Chapters 7 through 11 use the example of a fictional site called voxLibris to show off various CSS techniques. I broke the code down and sometimes simplified it in those chapters.

This appendix includes the unexpurgated code—including all HTML and CSS—used to create the site. You can also download the code from:

speaking-in-styles.com/book

index.html

The content for the page is in the file index.html, which includes all of the HTML needed to create the structure of the page, but none of the styles. As with all HTML pages, it is composed of metadata between the <head> tags (03–07) and content between the <body> tags (08–139 ...

Get Speaking in Styles: Fundamentals of CSS now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.