A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.mozilla.org/en-US/docs/Web/CSS/display-internal below:

<display-internal> - CSS | MDN

Syntax

Valid <display-internal> values:

table-row-group

These elements behave like <tbody> HTML elements.

These elements behave like <thead> HTML elements.

These elements behave like <tfoot> HTML elements.

table-row

These elements behave like <tr> HTML elements.

table-cell

These elements behave like <td> HTML elements.

table-column-group

These elements behave like <colgroup> HTML elements.

table-column

These elements behave like <col> HTML elements.

table-caption

These elements behave like <caption> HTML elements.

ruby-base

These elements behave like <rb> HTML elements.

ruby-text

These elements behave like <rt> HTML elements.

ruby-base-container

These elements are generated as anonymous boxes.

ruby-text-container

These elements behave like <rtc> HTML elements.

Formal syntax
<display-internal> = 
table-row-group |
table-header-group |
table-footer-group |
table-row |
table-cell |
table-column-group |
table-column |
table-caption |
ruby-base |
ruby-text |
ruby-base-container |
ruby-text-container
Examples CSS tables example

The following example demonstrates laying out a form using CSS table layout.

HTML
<main>
  <div>
    <label for="name">Name</label>
    <input type="text" id="name" name="name" />
  </div>
  <div>
    <label for="age">Age</label>
    <input type="text" id="age" name="age" />
  </div>
</main>
CSS
main {
  display: table;
}

div {
  display: table-row;
}

label,
input {
  display: table-cell;
  margin: 5px;
}
Result SpecificationsThis feature does not appear to be defined in any specification. Browser compatibility css.properties.display.table-row-group

Loading…

Loading…

Loading…

css.properties.display.table-row

Loading…

css.properties.display.table-cell

Loading…

css.properties.display.table-column-group

Loading…

css.properties.display.table-column

Loading…

css.properties.display.table-caption

Loading…

css.properties.display.ruby-base

Loading…

css.properties.display.ruby-text

Loading…

css.properties.display.ruby-base-container

Loading…

css.properties.display.ruby-text-container

Loading…

See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.5