CSS text-justify Property
Voorbeeld
Stel de uitvulmethode in op "tussenwoord" wanneer tekstuitlijning is ingesteld op "uitvullen":
div
{
text-align: justify;
text-justify: inter-word;
}
Definitie en gebruik
De text-justify
eigenschap specificeert de uitvulmethode van tekst wanneer tekstuitlijning is ingesteld op "uitvullen".
Standaardwaarde: | auto |
---|---|
geërfd: | Ja |
Animeerbaar: | Nee. Lees over animeren |
Versie: | CSS3 |
JavaScript-syntaxis: | object .style.textJustify="inter-woord" |
Browserondersteuning
De getallen in de tabel geven de eerste browserversie aan die de eigenschap volledig ondersteunt.
Property | |||||
---|---|---|---|---|---|
text-justify | Yes* | 11.0 | 55.0 | 10.0.3 | Yes* |
*Deze functie zit achter de voorkeur Experimentele webplatformfuncties inschakelen (moet worden ingesteld op Ingeschakeld). Om voorkeuren in Chrome te wijzigen: typ "chrome://flags" in de Chrome-browser. Om voorkeuren in Opera te wijzigen: typ "vlaggen" in de Opera-browser.
CSS-syntaxis
text-justify: auto|inter-word|inter-character|none|initial|inherit;
Eigendomswaarden
Value | Description | Play it |
---|---|---|
auto | The browser determines the justification algorithm | |
inter-word | Increases/Decreases the space between words | |
inter-character | Increases/Decreases the space between characters | |
none | Disables justification methods | |
initial | Sets this property to its default value. Read about initial | |
inherit | Inherits this property from its parent element. Read about inherit |