CHAPTER 3

image

Specifying Sizes, Colors, and Files

In the preceding chapter, you used a keyword to set the value of the cursor property. Many CSS properties use predefined keywords, but sizes, colors, and the location of files need to be specified individually. This chapter describes the units of measurement and the syntax used to specify colors and files. CSS3 introduces several new units of measurement, which are only gradually being implemented by browsers, so you need to use them with caution.

In this chapter you’ll learn about the following:

  • Which units of measurement to use for visual browsers and printers
  • Understanding the difference between ...

Get Beginning CSS3 now with O’Reilly online learning.

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