You are here : cssCSS 3text-align-last

text-align-last - CSS 3

The text-align-last property specifies how to align the last line of a text.Note: The text-align-last property will only work for elements with the text-align property set to "justify".


Syntax

text-align-last: auto|left|right|center|justify|start|end|initial|inherit;


Example

p
{
   
text-align: justify;      -moz-text-align-last: right; 
	/* Code for Firefox */
   
text-align-last: right;
}


Output / Return Value


Limitations


Alternatives / See Also


Reference