9. Typography and Web Fonts

In times past, choosing type styling for a web site meant picking from one of a handful of typefaces; setting a size, color, and a few other properties; and relinquishing the control that designers are used to when designing for other media. CSS provides more control over font styling and typesetting than many people realize, and in the last few years there have been huge advancements in tools, services, and embeddable fonts based on changes in CSS3.

This chapter explores how to choose the font used and discusses the other properties that give you control over the appearance and the readability of the text on the pages you build.

Font Basics

The typeface used for rendering text and its particular characteristics ...

Get The CSS Pocket Guide now with the O’Reilly learning platform.

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