text-align-last
Important
This documentation is preliminary and subject to change.
Sets how to align the last line or a line right before a forced line break when text-align is set justify.
Syntax
{ text-align-last:
sAlignLast }
Possible values
sAlignLast
String that specifies or receives one of the following values:
start |
Default. Text is aligned to the left. |
end |
Default. Text is aligned to the left. |
left |
Default. Text is aligned to the left. |
right |
Text is aligned to the right. |
center |
Text is centered. |
justify |
Text is justified. |
The property has a default value of left. It is inherited.
Remarks
The property applies to block elements. The property is inherited by all block-level objects inside a div object.
Standards information
This pseudo-class is defined in CSS Selectors Level 3 .
Applies to
address, blockquote, body, center, dd, div, dl, dt, fieldset, form, hn, hr, input type=password, input type=text, li, ol, p, table, td, th, tr, ul, xmp
Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.