PART II

image

Working with Text

Good-looking, readable text is vital to the success of a website. CSS has a large number of properties devoted to formatting text, giving you control not only over fonts and colors, but also allowing you to adjust the distance between lines, words, and individual letters. For many years, one of the most frustrating aspects of styling text on the Web has been the limited range of fonts considered safe to use because browsers rely on what’s available on the user’s computer. Thankfully, those days are over. You can now embed a wide range of fonts in web pages, either by storing them on your own web server or using a font ...

Get Beginning CSS3 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.