
Box Properties
It is futile to try to cover every CSS property in this chapter. There are so
many properties that I could write a book about it. Instead, I will concen-
trate on the most important properties—those properties that are fre-
quently used. We will start with the properties associated with boxes.
For more information on specific properties, consult the recommendation at
www.w3.org/TR/1998/REC-CSS2-19980512.
Display Property
The display property describes how an element is displayed. The following
example selects the element as a block box:
display: block;
display accepts one of the four values: block, inline, list-item, and none.
Lists are outside ...