(^616) Appendix C CSS Property Reference
Table C.1Cascading style sheet properties (continued)
Property
max-width
Common Values: A numeric value (px or em), percentage, or "none"(default)
Usage: Configures the maximum width of an element.
Example: max-width:700px;
min-width
Common Values: A numeric value (pxor em) or percentage
Usage: Configures the minimum width of an element.
Example: min-width:400px;
overflow
Common Values: "visible"(default), "hidden", "auto", "scroll"
Usage: Controls the display of a block-level element if the element exceeds its set height or width.
Example: overflow:scroll;
padding
Usage: Configures the amount of padding associated with an element.
Shorthand Notation Option 1:
Common Values: A numeric value (pxor em) or percentage
Example: padding:20px;
Shorthand Notation Option 2:
Common Values: Two numeric values (pxor em) or percentages. The first value configures the top and bottom
padding. The second value configures the left and right padding.
Example: padding:10px 15px;
Full Notation:
Common Values: Four numeric values (pxor em) or percentages. The values configure the padding in the
following order (padding-top, padding-right, padding-bottom, padding-left).
Example: padding:10px 15px 10px 20px;
padding-bottom
Common Values: A numeric value (pxor em) or percentage
Usage: Configures the blank space between an element and its bottom border.
Example: padding-bottom:10px;
padding-left
Common Values: A numeric value (pxor em) or percentage
Usage: Configures the blank space between an element and its left border.
Example: padding-left:10px;
steven felgate
(Steven Felgate)
#1