O'Reilly logo

Pro CSS and HTML Design Patterns by Michael Bowers

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 10Styling Text

This chapter is the first of three chapters containing design patterns that style text. The next chapter discusses how to put space around text. Chapter 12 discusses how to align text. Strictly speaking, this is the only chapter that actually styles text. The following two chapters style inline elements, which can contain text or be replaced by images, objects, controls, movies, and so on.

This chapter contains the following design patterns:

  • Font shows how to style text using fonts.
  • Highlight shows how to highlight text using color and tiled background images.
  • Text Decoration shows how to create custom styles for underlines, overlines, and line-throughs.
  • Text Shadow shows how to automatically generate shadows behind text ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required