IntroductIon to cSS for Paged MedIa
IntroductIon to CSS for Paged MedIa
Antenna House, Inc. Introduction to CSS for Paged Media 1
© 2019 Antenna House, Inc.1) While every precaution has been taken © 2019 アンテナハウス株式会社 in the preparation of this document, the publisher assumes no responsibility for errors or omissions, or for damages re Edition Date sulting from the use of information con tained herein. Sixth Edition February 15, 2019
Fifth Edition November 9, 2018 ▪ Antenna House is a trademark of Antenna House, Inc. Fourth Edition April 3, 2018 ▪ W3C® is a trademark (registered in numerous countries) of the World Wide Third Edition April 21, 2009 Web Consortium; marks of W3C are registered and held by its host Second Edition March 13, 2009 institutions MIT, ERCIM, Keio, and First Edition December 8, 2008 Beihang. ▪ CSS specifications are copyright © World Wide Web Consortium, (MIT, ERCIM, Antenna House, Inc. Keio, Beihang). http://www.w3.org/ 500 Creek View Road Consortium/Legal/2015/doc-license. Suite 107 This software or document includes Newark, DE 19711 material copied from or derived from USA multiple CSS specficiations. Telephone +1 302-427-2456 ▪ Microsoft, Windows are registered [email protected] trademarks or trademarks of Microsoft http://www.antennahouse.com/ Corporation in the United States and/or other countries. ▪ Adobe, Adobe Acrobat, Adobe Reader, PostScript are trademarks of Adobe Systems Incorporated. ▪ Unicode is a trademark of Unicode, Inc. This document is marked up in XHTML5 ▪ PANTONE and other Pantone LLC (XML-serialized HTML5). The table of trademarks are the property of Pantone contents, index, and syntax highlighting LLC. © Pantone LLC, 2015. are updated using XSLT. Styles are speci ▪ All other trademarks on this document fied using a CSS style sheet. The XHTML5, are property of their respective owners. CSS, and image files are available on the ▪ The symbols needed in the trademarks Antenna House website. This document such as ™ and ® may be omitted in this was formatted and converted to PDF document. with AH Formatter V6.6.
1. Copyright © 2019, 2018, 2009, 2008 Antenna House, Inc. BRIEF CONTENTS
IntroductIon 1 1. Screen & Paged MedIa 5 2. Box Layout 11 3. Page Layout 21 4. HeaderS & footerS 35 5. MuLtIPLe coLuMnS 47 6. KeePS & BreaKS 51 7. ParagraPH SettIng 55 8. footnoteS & SIdenoteS 67 9. taBLeS 71 10. LIStS 83 11. cHaracter SettIng 85 12. JaPaneSe text coMPoSItIon 93 13. croSS-referenceS 105 14. IMage PoSItIonIng 109 15. MatHML & SVg graPHIcS 119 16. counterS 125 17. coLor 135 18. BorderS & BacKground 143 19. Pdf outPut 155
referenceS 167 reSourceS and furtHer readIng 169 gLoSSary 171 Page Box and Page-MargIn Box cSS ProPertIeS 174 unItS 176 SeLectorS and PSeudo-eLeMentS 178 Index 181
CONTENTS
IntroductIon 1
1. Screen & Paged MedIa 5 ‘@media’ Rule 5 Specifying a Print Style Sheet 5
‘@import’ rule A print-only style sheet can be created in another CSS file by including it with ‘@import’.
@import url("PrintOnly.css") print; /* PrintOnly.css printing */
media attribute of