display: table
display: table is a CSS property in the Table category. Makes the element behave like an HTML
element. The syntax is display: table. A typical example: display: table; It is commonly applied to markup such as <div class="demo">Sample</div> Browser support: Chrome 1+, Firefox 1+, Safari 1+, Edge 12+. A close relative is border-collapse, which controls the layout and appearance of table elements. A close relative is border-spacing, which controls the layout and appearance of table elements. A close relative is caption-side, which controls the layout and appearance of table elements. More about this category: CSS table properties for styling HTML tables. Related Table entries: border-collapse, border-spacing, caption-side, empty-cells, table-layout. This page is part of the free CSS Reference documentation covering 841+ properties, selectors, functions, and at-rules, each with syntax, values, examples, and browser support. You can look up any other entry from the search page or return to the CSS Reference homepage.