ChapterOpener_Casario.jpg

Chapter 4

CSS Typography

The role of web typography—as is the case with other uses of typography, such as in print—is to administer a set of techniques that aid in the readability of text. As you saw in the previous chapter, many of these involve the effects applied to the font itself, but other techniques involve the appearance of a whole block of text. This chapter will explore some of these techniques and provide solutions for common typographical concerns.

Solution 4-1: Handling hyphenation of text

Maybe you’ve seen a particularly long URL posted as a comment on an otherwise beautifully designed blog that—uh oh—spills outside the bounds ...

Get CSS3 Solutions: Essential Techniques for CSS3 Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.