XML technologies / CSS / Advanced websites with CSS / CSS property reference / text-kashida-space
(Excerpt from “CSS − Advanced websites with Cascading Stylesheets” by Rachel Andrew & Dan Shafer)
The property text-kashida-space is not included in the CSS specification and describes horizontal character and word spacing in Kashida, a method of justifying Arabic text without changing the semantic meaning of word and character spacing.
Because this property applies only to justified elements, text-align must be declared with justify.
Inherited: yes
See also: text-align, text-justify
Values
Percentages specifying how much of the expansion comes from increased letter spacing versus increased spaces between words. 0% expands only spaces between words; 100% expands only letter spacing.
Default value: 0%
Compatibility
CSS version: not part of the CSS specification
Works only in Internet Explorer for Windows from version 5.5.
Corresponding functionality is planned for CSS3, although the final property and value names will probably differ. Current information is available on the CSS Working Group website.
Example
The following rule expands a Kashida line two-thirds through spaces between words and one-third through letter spacing:
div.spalte {
text-align: justify;
text-kashida-space: 33%;
}
Copyright © 2006 of the German translation, dpunkt.verlag GmbH
You may print the online version for your private use.
Otherwise, this chapter from “CSS − Anspruchsvolle Websites mit Cascading Stylesheets” is subject to the same conditions as the bound edition: the work, including all its parts, is protected by copyright. All rights reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
dpunkt.verlag GmbH, Ringstraße 19, 69115 Heidelberg