occupied is preserved. Relative positioning is accomplished by
generating the element as though it were set to
static, and then simply shifting the
element's box (or boxes, in the case of an inline element that
crosses multiple lines). It is possible that the positioned element
will overlap other content. The direction and magnitude of the offset
are specified using some combination of the properties
top, right,
bottom, and left.
width of the right border of an element, which will inherit the
element's background, and may have a foreground of its own (see
border-style). Negative length values are not
permitted.
border-styleIE4 P/Y IE5 P/Y NN4 P/P Op3 Y/-Sets the style of the overall border of
an element, using the color set by border-color or the foreground of
the element itself if no border-color has been defined. CSS1 does not
require recognition of any values besides none and
solid. Any unrecognized value from the list of
like this:
Since no border color is declared, the default value (the
element's foreground) is applied instead, as we can see in
Figure 7-48. Just remember that if you leave out a
border style, the default value of none will
prevent your border from appearing at all.
Figure 7-48. Letting default values fill in the gaps
By contrast, if you set only a style, you will still get a border.
As Figure 7-32 shows, the border is now based on thelight gray silver, since that's now theforeground color of the image -- even though the imagedoesn't actually use that color, it's still passed on tothe border. We'll talk about another way to change bordercolors in a later section.
Figure 7-32. Changing the color of the border
7.4.1.1. Multiple styles
visible border, then there will still be a gap between the padding
and the border, but otherwise you should get roughly the correct
effect.
Nonetheless, if you leave out this statement, every version of
Navigator 4.x will not extend the background color throughout the
entire content box but will only place it behind the element's
text.