Prev | Current Page 71 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"

7 Inch measurements
are now used mainly in the United States. One inch measures 25.4mm.
A point is an old typographic measurement, but multiple standards were used for
points in print, and the Didot point used in continental Europe was slightly larger
than the point used in Britain and America. In CSS, one point is defined as 1/72
inch (0.353mm), just as it is in PostScript.
A pica is equal to 12 points, just as it is in typography, which translates into 1/6
inch or 4.23mm in CSS.
Physical (absolute) units shouldn??™t normally be used for on-screen display. A font
size specified as 7pt may be readable (albeit barely) at nine pixels on a 96dpi
Windows system, but it will display at an illegible seven pixels on an older 72dpi
Mac system.
In a similar vein, pixels shouldn??™t usually be used when you??™re specifying styles
for print media. Although user agents are expected to rescale pixels if necessary,
pixels don??™t make sense on high-resolution devices.
Percentages
A percentage is an integer, or a decimal number, followed by a percentage character
(%).


Pages:
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83