CSS Text: Styling Your Words

¡ "O'Reilly Media, Inc."
ā§Ē.ā§Ļ
ā§ĢāϟāĻŋ āϰāĻŋāĻ­āĻŋāω
āχ-āĻŦ⧁āĻ•
56
āĻĒ⧃āĻˇā§āĻ āĻž
āωāĻĒāϝ⧁āĻ•ā§āϤ
āϰ⧇āϟāĻŋāĻ‚ āĻ“ āϰāĻŋāĻ­āĻŋāω āϝāĻžāϚāĻžāχ āĻ•āϰāĻž āĻšā§ŸāύāĻŋ  āφāϰāĻ“ āϜāĻžāύ⧁āύ

āĻāχ āχ-āĻŦ⧁āϕ⧇āϰ āĻŦāĻŋāĻˇā§Ÿā§‡

As a web designer, you probably spend more time working with text than any other element. With this concise guide, you’ll 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, you’ll receive a discount on the entire Definitive Guide once it’s 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 font’s 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

āϰ⧇āϟāĻŋāĻ‚ āĻ“ āĻĒāĻ°ā§āϝāĻžāϞ⧋āϚāύāĻžāϗ⧁āϞāĻŋ

ā§Ē.ā§Ļ
ā§ĢāϟāĻŋ āϰāĻŋāĻ­āĻŋāω

āϞ⧇āĻ–āĻ• āϏāĻŽā§āĻĒāĻ°ā§āϕ⧇

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.

āχ-āĻŦ⧁āϕ⧇ āϰ⧇āϟāĻŋāĻ‚ āĻĻāĻŋāύ

āφāĻĒāύāĻžāϰ āĻŽāϤāĻžāĻŽāϤ āϜāĻžāύāĻžāύāĨ¤

āĻĒāĻ āύ āϤāĻĨā§āϝ

āĻ¸ā§āĻŽāĻžāĻ°ā§āϟāĻĢā§‹āύ āĻāĻŦāĻ‚ āĻŸā§āϝāĻžāĻŦāϞ⧇āϟ
Android āĻāĻŦāĻ‚ iPad/iPhone āĻāϰ āϜāĻ¨ā§āϝ Google Play āĻŦāχ āĻ…ā§āϝāĻžāĻĒ āχāύāĻ¸ā§āϟāϞ āĻ•āϰ⧁āύāĨ¤ āĻāϟāĻŋ āφāĻĒāύāĻžāϰ āĻ…ā§āϝāĻžāĻ•āĻžāωāĻ¨ā§āĻŸā§‡āϰ āϏāĻžāĻĨ⧇ āĻ…āĻŸā§‹āĻŽā§‡āϟāĻŋāĻ• āϏāĻŋāĻ™ā§āĻ• āĻšā§Ÿ āĻ“ āφāĻĒāύāĻŋ āĻ…āύāϞāĻžāχāύ āĻŦāĻž āĻ…āĻĢāϞāĻžāχāύ āϝāĻžāχ āĻĨāĻžāϕ⧁āύ āύāĻž āϕ⧇āύ āφāĻĒāύāĻžāϕ⧇ āĻĒ⧜āϤ⧇ āĻĻā§‡ā§ŸāĨ¤
āĻ˛ā§āϝāĻžāĻĒāϟāĻĒ āĻ“ āĻ•āĻŽā§āĻĒāĻŋāωāϟāĻžāϰ
Google Play āĻĨ⧇āϕ⧇ āϕ⧇āύāĻž āĻ…āĻĄāĻŋāĻ“āĻŦ⧁āĻ• āφāĻĒāύāĻŋ āĻ•āĻŽā§āĻĒāĻŋāωāϟāĻžāϰ⧇āϰ āĻ“ā§Ÿā§‡āĻŦ āĻŦā§āϰāĻžāωāϜāĻžāϰ⧇ āĻļ⧁āύāϤ⧇ āĻĒāĻžāϰ⧇āύāĨ¤
eReader āĻāĻŦāĻ‚ āĻ…āĻ¨ā§āϝāĻžāĻ¨ā§āϝ āĻĄāĻŋāĻ­āĻžāχāϏ
Kobo eReaders-āĻāϰ āĻŽāϤ⧋ e-ink āĻĄāĻŋāĻ­āĻžāχāϏ⧇ āĻĒāĻĄāĻŧāϤ⧇, āφāĻĒāύāĻžāϕ⧇ āĻāĻ•āϟāĻŋ āĻĢāĻžāχāϞ āĻĄāĻžāωāύāϞ⧋āĻĄ āĻ“ āφāĻĒāύāĻžāϰ āĻĄāĻŋāĻ­āĻžāχāϏ⧇ āĻŸā§āϰāĻžāĻ¨ā§āϏāĻĢāĻžāϰ āĻ•āϰāϤ⧇ āĻšāĻŦ⧇āĨ¤ āĻŦā§āϝāĻŦāĻšāĻžāϰāĻ•āĻžāϰ⧀āϰ āωāĻĻā§āĻĻ⧇āĻļā§āϝ⧇ āϤ⧈āϰāĻŋ āϏāĻšāĻžā§ŸāϤāĻž āϕ⧇āĻ¨ā§āĻĻā§āϰāϤ⧇ āĻĻ⧇āĻ“ā§ŸāĻž āύāĻŋāĻ°ā§āĻĻ⧇āĻļāĻžāĻŦāϞ⧀ āĻ…āύ⧁āϏāϰāĻŖ āĻ•āϰ⧇ āϝ⧇āϏāĻŦ eReader-āĻ āĻĢāĻžāχāϞ āĻĒāĻĄāĻŧāĻž āϝāĻžāĻŦ⧇ āϏ⧇āĻ–āĻžāύ⧇ āĻŸā§āϰāĻžāĻ¨ā§āϏāĻĢāĻžāϰ āĻ•āϰ⧁āύāĨ¤