Some browsers apply CSS rules in two or three different modes: standards mode,
almost standards mode, and quirks mode. The choice of rendering mode is made
through the process of doctype sniffing.
For all intents and purposes, the current CSS specification is CSS2.1. Some modern
browsers implement a few features from the CSS3 working drafts, but currently
those features cannot be relied upon for anything other than experimental use.
What Is CSS?
Chapter 2
General Syntax and Nomenclature
In this section, we??™ll describe the building blocks of a CSS style sheet and the correct
syntax for each part. We??™ll also define the unavoidable jargon we??™ll use throughout
this reference. When everyone uses the same term for the same thing, communication
is usually easier and less error prone.
CSS syntax is not rigid: whitespace can usually be added freely between tokens,
and line breaks have no semantic value.
CSS is case insensitive in all matters under its control. However, some things lie
outside the control of CSS and these may or may not be case sensitive, depending
on external factors such as markup language and operating system.
Pages:
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72