May 2000
Intermediate to advanced
472 pages
14h 17m
English
display — IE4 P/P | IE5 P/Y | NN4 P/P | Op3 P/-
Used to
classify elements into broad categories. The most popular value is
probably none, which suppresses the display of an
element altogether. Gratuitous use of display with
a document type such as HTML can be dangerous, since HTML already has
a display hierarchy defined. However, in the case
of XML, which has no such hierarchy, display is indispensable.
In CSS2, the range of values for display is dramatically expanded. See Chapter 10 for more details.
.hide {display: none;}
block | inline |
list-item | none
block
no
all elements
Read now
Unlock full access