Synopses & Reviews
As a web designer, you probably spend more time working with text than any other element. With this concise guide, youll learn CSS3 properties for changing the appearance of text without altering the font face—including horizontal and vertical alignment, text transformation, word and letter spacing, text wrapping, and the direction of text flow.
This book is an excerpt from the upcoming fourth edition of CSS: The Definitive Guide. When you purchase either the print or the ebook edition of CSS Text, youll receive a discount on the entire Definitive Guide once its released. Why wait, when you can start manipulating text on your pages right away?
- Use properties for indenting and aligning lines of text
- Control the leading between lines of text beyond the fonts size
- Change the amount of space between words and individual characters
- Add underlines, overlines, strike-throughs, shadows, and other effects
- Instruct browsers to prioritize speed, legibility, or geometric precision when rendering text
- Learn how and when to suppress automatic hyphenation
- Determine the direction that text flows, including left-to-right and top-to-bottom
Web sites have needed text layout since the earliest days, and CSS is the smoothest way to create pleasing layouts. It's not just about choosing and applying fonts (covered in CSS Fonts), but about alignment, spacing, positioning, indentation, line heights, superscripts, underlines, shadows, capitalization, and all the other features that demonstrate careful presentation.
About the Author
Eric A. Meyer is the author of the critically acclaimed online tutorial Introduction to HTML, as well as some other semi-popular Web pages. He is a member of the CSS&FP Working Group and the author of Cascading Style Sheets: The Definitive Guide.
Table of Contents
Preface; Conventions Used in This Book; Safari® Books Online; How to Contact Us; Chapter 1: Text Properties; 1.1 Indentation and Horizontal Alignment; 1.2 Vertical Alignment; 1.3 Word Spacing and Letter Spacing; 1.4 Text Transformation; 1.5 Text Decoration; 1.6 Text Rendering; 1.7 Text Shadows; 1.8 Handling White Space; 1.9 Wrapping and Hyphenation; 1.10 Text Direction; 1.11 Summary; Colophon;