Web Development and Design Foundations with XHTML, 5th Edition

(Steven Felgate) #1
Appendix C CSS Property Reference^617

Table C.1Cascading style sheet properties (continued)


Property
padding-right
Common Values: A numeric value (pxor em) or percentage
Usage: Configures the blank space between an element and its right border.
Example: padding-right:10px;
padding-top
Common Values: A numeric value (pxor em) or percentage
Usage: Configures the blank space between an element and its top border.
Example: padding-top:10px;
page-break-after
Common Values: "always","avoid", "auto" (default)
Usage: Configures whether page breaks will occur after a specified selector when the document
is printed.
Example: h2 { page-break-after: avoid; }
page-break-before
Common Values: "always","avoid", "auto" (default)
Usage: Configures whether page breaks will occur before a specified selector when the document is
printed.
Example: h2 { page-break-before: always; }
position
Common Values: "relative", "absolute"
Usage: Configures the positioning of an element. Used in combination with left, right, and/or
topproperties.
Example: position:relative;
right
Common Values: A numeric value (pxor em) or percentage
Usage: Configures the distance in from the right (of the containing element) to display an element.
Example: right:20px;
scrollbar-arrow-color
Common Values: Valid hexadecimal color value, RGB color value, or color name
Usage: Configures the color of the arrow on the scroll bar (Internet Explorer only).
Example: scrollbar-arrow-color:#ff0000;
scrollbar-face-color
Common Values: Valid hexadecimal color value, RGB color value, or color name
Usage: Configures the color of the sliding scroll bar (Internet Explorer only).
Example: scrollbar-face-color:#00ff00;
(continues)
Free download pdf