CSS text | justify align
ExampleSetthejustificationmethodto"inter-word"whentext-alignissetto"justify":div{ text-align:justify; text-justify:inter-word;}TryitYourself»[1]DefinitionandUsageThetext-justifypropertyspecifiesthejustificationmethodoftextwhentext-alignissetto"justify".Defaultvalue:autoInherited:yesAnimatable:no.Readaboutanimatable[2]Version:CSS3JavaScriptsyntax:object.style.textJustify="inter-word"BrowserSupportThenumbersinthetablespecifythefirstbrowserversionthatfullysupportstheproperty.Propertytext-justif...
ExampleSet the justification method to "inter-word" when text-align is set to "justify":
div { text-align: justify; text-justify: inter-word;}
Try it Yourself »[1] Definition and UsageThe text-justify property specifies the justification method of text when text-align is set to "justify".
Default value: auto Inherited: yes Animatable: no. Read about animatable[2] Version: CSS3 JavaScript syntax: object.style.textJustify="inter-word" Browser SupportThe numbers in the table specify the first browser version that fully supports the property.
Property text-justify Yes* 11.0 55.0 10.0.3 Yes**This feature is behind the Enable Experimental Web Platform Features preference (needs to be set to Enabled). To change preferences in Chrome: type in "chrome://flags" in the Chrome browser. To change preferences in Opera: type in "fl...