The direction property may be set to indicate a left to right or right to left parsing direction.
This is part of the localization support and represents the contents of the DIR="..." tag attribute.
If you assign a value to this property it is case-sensitive and must be one of the following:
ltr
rtl
ltr-override
rtl-override
This property works in conjunction with the lang property to control the direction of text flow.
The variations with the override modifier keyword are intended to force the direction even when the underlying language does not support it natively according to the Unicode rules.
Prev | Home | Next |
style.cursor | Up | style.display |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |