The dir Property


The dir Property

The dir property gives the direction of text in text-oriented HTML components , and can be set to "rtl" (right to left) or "ltr" (left to right) for various languages. You can see the support for this property in Table 5.18.

Table 5.18. The dir Property

Property

NS2

NS3

NS4

NS6

IE3a

IE3b

IE4

IE5

IE5.5

IE6

dir

     

x

     

x

x

x

 

Read/Write

 

Type: String

Tip

If you want to use the dir property in the Internet Explorer, you may have to download an add-in component named Microsoft Uniscribe. You can find more information at www.microsoft.com/OpenType/developers/ uniscribe /intro.htm.




Inside Javascript
Inside JavaScript
ISBN: 0735712859
EAN: 2147483647
Year: 2005
Pages: 492
Authors: Steve Holzner

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net