Conventions
The CSS syntax descriptions shown throughout this chapter adhere to the following guidelines:
Words in the
Constant Widthfont are keywords or constant values to be used as-is.Words in the
ConstantWidthItalicfont 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 Pelements, 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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access