Eigenschap aan de CSS -bijschrift
Voorbeeld
Specificeer de plaatsing van tabelbijschriften:
#example1 {
caption-side: bottom;
}
#example2 {
caption-side: top;
}
Definitie en gebruik
De caption-side
eigenschap specificeert de plaatsing van een tabelbijschrift.
Standaardwaarde: | bovenkant |
---|---|
geërfd: | Ja |
Animeerbaar: | Nee. Lees over animeren |
Versie: | CSS2 |
JavaScript-syntaxis: | object .style.captionSide="onder" |
Browserondersteuning
De getallen in de tabel geven de eerste browserversie aan die de eigenschap volledig ondersteunt.
Property | |||||
---|---|---|---|---|---|
caption-side | 1.0 | 8.0 | 1.0 | 1.0 | 4.0 |
CSS-syntaxis
caption-side: top|bottom|initial|inherit;
Eigendomswaarden
Value | Description | Play it |
---|---|---|
top | Puts the caption above the table. This is default | |
bottom | Puts the caption below the table | |
initial | Sets this property to its default value. Read about initial | |
inherit | Inherits this property from its parent element. Read about inherit |
Gerelateerde pagina's
CSS-zelfstudie: CSS-tabel
HTML DOM-referentie: eigenschap captionSide