Home → References → CSS Properties →
CSS Property: display
Specifies the display type of a box.
HTML Dog is hosted by Titan Internet
Possible Values
none- no display at all.inline- An inline box.block- A block box.inline-block- effectively a block box inside an inline box. Not supported by Mozilla at time of writing. IE will only applyinline-blockto elements that are traditionally inline such asspanorabut notpordiv. Loopy.run-in- Either an inline or block box depending on the context. If a block box follows the run-in box, the run-in box becomes the first inline box of that block box, otherwise it becomes a block box itself. Crazy. Not supported by IE/Win or Mozilla at the time of writing.list-item- the equivalent of the default styling of the HTMLlielement.table- a block-level table - the equivalent of the default styling of the HTMLtableelement. Not supported by IE.inline-table- an inline-level table. Not supported by IE.table-row-group- the equivalent of the default styling of the HTMLtbodyelement. Not supported by IE.table-header-group- the equivalent of the default styling of the HTMLtheadelement. Not supported by IE.table-footer-group- the equivalent of the default styling of the HTMLtfootelement. Not supported by IE.table-row- the equivalent of the default styling of the HTMLtrelement. Not supported by IE.table-column-group- the equivalent of the default styling of the HTMLcolgroupelement. Not supported by IE.table-column- the equivalent of the default styling of the HTMLcolelement. Not supported by IE.table-cell- the equivalent of the default styling of the HTMLtdorthelements. Not supported by IE.table-caption- the equivalent of the default styling of the HTMLcaptionelement. Not supported by IE.
Example
.darwin { display: block; }
.lamarck { display: none; }
.linnaeus { display: table; }

