Sets the style of an element??™s borders.
Can work as shorthand, with one style per
edge, from the top clockwise. Example:
border-style: solid dashed dotted
?? groove;
Not all styles are supported in all
browsers. Notably, Internet Explorer 5
and 6 render dotted as dashed when a
border is 1 pixel in width.
dashed | dotted |
double | groove |
inset | none |
outset | ridge |
solid
Defines the distance between borders or
adjacent table cells when using the
separated borders model. (See
border-collapse.) If a single length is
given, it??™s used for horizontal and vertical
values; if two lengths are provided, the
first is used for the horizontal spacing
and the second for the vertical spacing.
Negative values are not permitted.
Shorthand for defining right border
property values (see border).
CSS REFERENCE
477
D
Property Values Description Inherited
bottom No
caption-side bottom | top Yes
clear No
clip auto | (shape) No Creates a clipping area for an absolute
positioned element to determine the
visible area. As of CSS 2.1, the only
available shape is rect. Example:
clip: rect(5px, 60px, 15px, 20px);
As per the preceding code block,
dimensions are stated as a commaseparated
list, and percentage lengths are
not permitted. The dimensions are, as per
typical CSS shorthand, in the following
order: top, right, bottom, left. The top and
bottom values specify offsets from the top
border edge of the box.
Pages:
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563