Conventions
The CSS syntax descriptions shown throughout this chapter adhere to the following guidelines:
Words in the
Constant Width
font are keywords or constant values to be used as-is.Words in the
Constant
Width
Italic
font are placeholders for values.A value contained by square brackets (
[]
) is optional.A series of two or more values separated by a pipe symbol (
|
) represent items in a list of acceptable values to be used in the position shown.A few listings show numbers in brackets (
{1,2}
) after a value. The numbers indicate the minimum and maximum number of space-delimited values you can specify.A double-pipe symbol (
||
) indicates that the value to the right of the symbol is optional.
The category listing for JavaScript Equivalent is provided only when such an equivalent exists in Navigator 4 JavaScript Style Sheets.
The Applies To category advises which HTML elements can be influenced
by the style attribute. Some style attributes can be applied only to
block-level, inline, or replaced elements. A block-level element is
one that always starts on a new line and forces a new line after the
end of the element (H1
and P
elements, for example). An inline element is one that you
can place in the middle of a text line without disturbing the content
flow (EM
elements, for example). A replaced
element is a block-level or inline element whose content may be
changed dynamically without requiring any reflow of surrounding
content. The IMG
element falls into this category because you can swap ...
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.