Appendix C CSS Property Reference^613
Table C.1Cascading style sheet properties (continued)
Property
border-left
Common Values: The border-width, border-style, and border-colorvalues separated by spaces.
Usage: Configures the left border of an element.
Example: border-left:1px solid #000000;
border-right
Common Values: The border-width, border-style, and border-colorvalues separated by spaces.
Usage: Configures the right border of an element.
Example: border-right:1px solid #000000;
border-style
Common Values: "none"(default), "double", "groove", "inset", "outset", "ridge", "solid",
"dashed", "dotted", "hidden"
Usage: Configures the type of border around an element.
Example: border-style:dotted;
border-top
Common Values: The border-width, border-style, and border-colorvalues separated by spaces.
Usage: Configures the top border of an element.
Example: border-top:1px solid #000000;
border-width
Common Values: A numeric value (such as 1px) or values "thin", "medium", "thick"
Usage: Configures the width of a border around an element.
Example: border-width:3px;
bottom
Common Values: A numeric value (pxor em) or percentage
Usage: Configures the offset position from the bottom of the containing element
Example: bottom:20px;
clear
Common Values: "left", "right", "both", "none"(default)
Usage: Specifies the display of an element in relation to floating elements.
color
Common Values: Valid hexadecimal color value, RGB color value, or color name
Usage: Configures the foreground (text) color of an element.
Example: color:#0000ff;
display
Common Values: "none", "block", "inline", "list-item", "table", "table-row", "table-cell"
Usage: Controls how and if an element will display. Display set to "none"causes an element to not
display.
Example: display:block;
(continues)