This topic has not yet been rated - Rate this topic

-ms-text-kashida-space Attribute | textKashidaSpace Property

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

Syntax

CSS { -ms-text-kashida-space : vKashida }
Scripting [ vKashida = ] object.style.textKashidaSpace [ = vKashida ]

Possible Values

vKashida Variant that specifies or receives one of the following values.
percentage
Integer, 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.
inherit
Text 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 Cascading Style Sheets (CSS) attribute is inherited.

DHTML expressions can be used in place of the preceding value(s). As of Internet Explorer 8, expressions are supported in IE7 Standards mode and IE5 (Quirks) mode only. For more information, see About Dynamic Properties and Defining Document Compatibility.

Remarks

Windows Internet Explorer 8. The -ms-text-kashida-space attribute is an extension to CSS, and can be used as a synonym for text-kashida-space in IE8 Standards mode.

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 defined in Cascading Style Sheets (CSS), Level 3 (CSS3).

Applies To

ADDRESS, BLOCKQUOTE, BODY, CENTER, CSSStyleDeclaration, currentStyle, CUSTOM, DD, DIV, DL, DT, FIELDSET, FORM, hn, HR, ISINDEX, LI, LISTING, MENU, OL, P, PLAINTEXT, PRE, runtimeStyle, style, UL, XMP, CSSCurrentStyleDeclaration Constructor, CSSRuleStyleDeclaration Constructor, CSSStyleDeclaration Constructor
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ