Home | Top | Website design | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |
Sets or retrieves how to align the last line or only line of text in the object .
Syntax
{ text-align-last : sAlignLast } |
object.style.textAlignLast ( v ) [ = sAlignLast ] |
Possible Values
sAlignLast | String that specifies or receives one of the following values.
|
The property is read/write for all objects except the following, for which it is read-only: currentStyle . The property has a default value of auto . The proposed Cascading Style Sheets (CSS) attribute is inherited.
Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties .
Remarks
The property is read-only for the currentStyle object.
The property applies to block elements.
Example
The following example shows an embedded style rule that justifies all the lines in the document's p elements. This is commonly found in East Asian typography.
<STYLE>Standards Information
There is no public standard that applies to this property.
Applies To
|
ADDRESS , BLOCKQUOTE , BODY , CENTER , currentStyle , CUSTOM , DD , DIV , DL , DT , FIELDSET , FORM , hn , HR , ISINDEX , LI , LISTING , MENU , OL , P , PLAINTEXT , PRE , runtimeStyle , style , UL , XMP |
Home | Top | Website design | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |