text-kashida-space Attribute | textKashidaSpace

HTML (DHTML)

text-kashida-space Attribute | textKashidaSpace Property

Internet Development Index

Sets or retrieves the ratio of kashida expansion to white space expansion when justifying lines of text in the object.

Syntax

HTML { text-kashida-space : vKashida }
Scriptingobject.style.textKashidaSpace(v) [ = vKashida ]

Possible Values

vKashidaVariant that specifies or receives one of the following values.
percentageInteger, followed by a %. The value is the ratio of kashida expansion to white space expansion. 100% specifies kashida expansion only, and 0% specifies white space expansion only.
inheritText is expanded like the text in the parent object.

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 0%. 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

Kashida is a typographic effect that justifies lines of text by elongating characters at carefully chosen points. It is used in Arabic writing systems.

The property can be used with any justification style where kashida style expansion is used, such as the auto, distribute, kashida, and newspaper values of the textJustify property.

The property is read-only for the currentStyle object.

The property applies to block elements only.

Standards Information

This property is part of a proposed addition to Cascading Style Sheets (CSS) Non-Microsoft link.

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