CHAPTER 4Text

Constantly overlooked when it comes to style, yet arguably the most important element of any page—that's text. Specifically, your text is your content, and your content is the key to a successful web site.

Often, all the effort will go into some incredibly beautiful masthead, logo, or background, which makes the top of the web page look great (mostly), but scroll down to the actual content, and you might find a CSS famine. Taking control of your text requires more than just specifying one of the many available web fonts (I'm joking there) or setting font size. CSS provides the conscientious designer with a multitude of tools that can be applied to boring old text, bridging the gap between print and web design, and allowing for ...

Get Beginning CSS Web Development: From Novice to Professional 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.