Css: the Definitive Guide, 3rd Edition (2009)

Cover Css: the Definitive Guide, 3rd Edition
Authors:
Genres: Fiction
It's no surprise, then, that there are a number of ways to measure length in CSS.All length units can be expressed as either positive or negative numbers followed by a label (although some properties will accept only positive numbers). You can also use real numbers—that is, numbers with decimal fractions, such as 10.5 or 4.561. All length units are followed by a two-letter abbreviation that represents the actual unit of length being specified, such as in (inches) or pt (points). The only except...ion to this rule is a length of 0 (zero), which need not be followed by a unit.These length units are divided into two types: absolute length units and relative length units.Absolute Length Units We'll start with absolute units because they're easiest to understand, despite the fact that they're almost unusable in web design. The five types of absolute units are as follows: Inches (in)As you might expect, this notation refers to the inches you'd find on a ruler in the United States. (The fact that this unit is in the specification, even though almost the entire world uses the metric system, is an interesting insight into the pervasiveness of U.S.MoreLess

Read book Css: the Definitive Guide, 3rd Edition for free

+Write review

User Reviews:

Write Review:

Guest

Guest