Resolutions are specified using a number immediately followed by one of the units
dpi (dots per inch) or dpcm (dots per centimeter).
Aspect ratios are specified as the quotient of two integers representing width/height:
for example, 16/9 or 1280/1024.
Currently, support for media queries is limited. Opera 9 has partial support,14 as
What Is CSS?
17 What Is CSS?
does Safari 3. Support for media queries is also appearing in browsers for other
devices, such as Opera Mini 4, Opera for the Nintendo Wii,15 iPhone, and the Nokia
S60 browser. Apple suggests using media queries as a way of targeting the iPhone
browser,16 since, confusingly, that browser does not support the "handheld" media
type.
Standards Mode, Quirks Mode,
and Doctype Sniffing
Some of the early browser implementations of CSS were fraught with problems??”they
only supported parts of the specification, and in some cases, the implementation
of certain CSS features didn??™t comply with the specification.
Today??™s browsers generally provide excellent support for the latest CSS specification,
even incorporating features that aren??™t yet in the official specification, but will likely
appear in the next version.
Pages:
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65