Einige Layout-Modelle wie table
und ruby
haben eine komplexe interne Struktur mit mehreren unterschiedlichen Rollen, die ihre Kinder und Nachkommen ausfüllen können. Diese Seite definiert diese "internen" Display-Werte, die nur innerhalb dieses speziellen Layout-Modus Bedeutung haben.
Syntax
Gültige
Werte:
table-row-group
-
Diese Elemente verhalten sich wie
HTML-Elemente.
table-header-group
Diese Elemente verhalten sich wie
HTML-Elemente.
Diese Elemente verhalten sich wie
HTML-Elemente.
table-row
Diese Elemente verhalten sich wie
HTML-Elemente. table-cell
Diese Elemente verhalten sich wie
HTML-Elemente. table-column-group
table-column
table-caption
ruby-base
ruby-text
ruby-base-container
Diese Elemente werden als anonyme Boxen erzeugt.
ruby-text-container
Formale Syntax
Beispiele
CSS-Tabellenbeispiel
Das folgende Beispiel zeigt, wie ein Formular mit CSS-Tabellenlayout angeordnet wird.
HTML
htmlCSS
cssmain { display: table; } div { display: table-row; } label, input { display: table-cell; margin: 5px; }
Ergebnis
Spezifikationen
No specification found
No specification data found for
css.properties.display.table-row-group,css.properties.display.table-header-group,css.properties.display.table-footer-group,css.properties.display.table-row,css.properties.display.table-cell,css.properties.display.table-column-group,css.properties.display.table-column,css.properties.display.table-caption,css.properties.display.ruby-base,css.properties.display.ruby-text,css.properties.display.ruby-base-container,css.properties.display.ruby-text-container
.
Check for problems with this page or contribute a missingspec_url
to mdn/browser-compat-data. Also make sure the specification is included in w3c/browser-specs.Browser-Kompatibilität
css.properties.display.table-row-group
css.properties.display.table-header-group
css.properties.display.table-footer-group
css.properties.display.table-row
css.properties.display.table-cell
css.properties.display.table-column-group
css.properties.display.table-column
css.properties.display.table-caption
css.properties.display.ruby-base
css.properties.display.ruby-text
css.properties.display.ruby-base-container
css.properties.display.ruby-text-container
Siehe auch