![]() |
|
Dedicated servers
|
|
|
|
|
|
|
Reference and ManualHosting Glossary PHP HTML 4.01 CSS 2.0 Core Javascript 1.5 XHTML 1.0
Cascading Style Sheets(CSS) Level 21 About the CSS2 SpecificationContents 1.1 Reading the specificationThis specification has been written with two types of readers in mind: CSS authors and CSS implementors. We hope the specification will provide authors with the tools they need to write efficient, attractive, and accessible documents, without overexposing them to CSS's implementation details. Implementors, however, should find all they need to build conforming user agents. The specification begins with a general presentation of CSS and becomes more and more technical and specific towards the end. For quick access to information, a general table of contents, specific tables of contents at the beginning of each section, and an index provide easy navigation, in both the electronic and printed versions. The specification has been written with two modes of presentation in mind: electronic and printed. Although the two presentations will no doubt be similar, readers will find some differences. For example, links will not work in the printed version (obviously), and page numbers will not appear in the electronic version. In case of a discrepancy, the electronic version is considered the authoritative version of the document. 1.2 How the specification is organizedThe specification is organized into the following sections:
1.3 Conventions1.3.1 Document language elements and attributes
1.3.2 CSS property definitionsEach CSS property definition begins with a summary of key information that resembles the following:
ValueThis part specifies the set of valid values for the property. Value types may be designated in several ways:
Other words in these definitions are keywords that must appear literally, without quotes (e.g., red). The slash (/) and the comma (,) must also appear literally. Values may be arranged as follows:
Juxtaposition is stronger than the double bar, and the double bar is stronger than the bar. Thus, the following lines are equivalent:
a b | c || d e
[ a b ] | [ c || [ d e ]]
Every type, keyword, or bracketed group may be followed by one of the following modifiers:
The following examples illustrate different value types: Value: N | NW | NE InitialThis part specifies the property's initial value. If the property is inherited, this is the value that is given to the root element of the document tree. Please consult the section on the cascade for information about the interaction between style sheet-specified, inherited, and initial values. Applies toThis part lists the elements to which the property applies. All elements are considered to have all properties, but some properties have no rendering effect on some types of elements. For example, 'white-space' only affects block-level elements. InheritedThis part indicates whether the value of the property is inherited from an ancestor element. Please consult the section on the cascade for information about the interaction between style sheet-specified, inherited, and initial values. Percentage valuesThis part indicates how percentages should be interpreted, if they occur in the value of the property. If "N/A" appears here, it means that the property does not accept percentages as values. Media groupsThis part indicates the media groups to which the property applies. The conformance conditions state that user agents must support this property if they support rendering to the media types included in these media groups. 1.3.3 Shorthand propertiesSome properties are shorthand properties, meaning they allow authors to specify the values of several properties with a single property. For instance, the 'font' property is a shorthand property for setting 'font-style', 'font-variant', 'font-weight', 'font-size', 'line-height', and 'font-family' all at once. When values are omitted from a shorthand form, each "missing" property is assigned its initial value (see the section on the cascade). The multiple style rules of this example:
H1 {
font-weight: bold;
font-size: 12pt;
line-height: 14pt;
font-family: Helvetica;
font-variant: normal;
font-style: normal;
font-stretch: normal;
font-size-adjust: none
}
may be rewritten with a single shorthand property:
H1 { font: bold 12pt/14pt Helvetica }
In this example, 'font-variant', 'font-stretch', 'font-size-adjust', and 'font-style' take their initial values. 1.3.4 Notes and examplesAll examples that illustrate illegal usage are clearly marked as "ILLEGAL EXAMPLE". All HTML examples conform to the HTML 4.0 strict DTD (defined in [HTML40]) unless otherwise indicated by a document type declaration. All notes are informative only. Examples and notes are marked within the source HTML for the specification and CSS1 user agents will render them specially. 1.3.5 Images and long descriptionsMost images in the electronic version of this specification are accompanied by "long descriptions" of what they represent. A link to the long description is denoted by a "[D]" to the right of the image. Images and long descriptions are informative only. 1.4 AcknowledgmentsThis specification is the product of the W3C Working Group on Cascading Style Sheets and Formatting Properties. In addition to the editors of this specification, the members of the Working Group are: Brad Chase (Bitstream), Chris Wilson (Microsoft), Daniel Glazman (Electricité de France), Dave Raggett (W3C/HP), Ed Tecot (Microsoft), Jared Sorensen (Novell), Lauren Wood (SoftQuad), Laurie Anna Kaplan (Microsoft), Mike Wexler (Adobe), Murray Maloney (Grif), Powell Smith (IBM), Robert Stevahn (HP), Steve Byrne (JavaSoft), Steven Pemberton (CWI), Thom Phillabaum (Netscape), Douglas Rand (Silicon Graphics), Robert Pernett (Lotus), Dwayne Dicks (SoftQuad), and Sho Kuwamoto (Macromedia). We thank them for their continued efforts. A number of invited experts to the Working Group have contributed: George Kersher, Glenn Rippel (Bitstream), Jeff Veen (HotWired), Markku T. Hakkinen (The Productivity Works), Martin Dürst (W3C, formerly Universität Zürich), Roy Platon (RAL), Todd Fahrner (Verso), Tim Boland (NIST), Eric Meyer (Case Western Reserve University), and Vincent Quint (W3C). The section on Web Fonts was strongly s
|
![]() Net Host Tools
Feature Host
We Manage IT Differently
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|