XML technologies / CSS / Advanced websites with CSS / CSS property reference / text-autospace
(Excerpt from “CSS − Advanced websites with Cascading Stylesheets” by Rachel Andrew & Dan Shafer)
The property text-autospace describes spacing between characters from different writing systems, such as digits and East Asian, Arabic and Latin text characters.
Inherited: no
Values
The property text-autospace accepts the following constants:
ideograph-alpha: extra space between East Asian or Arabic characters and other symbols or Latin charactersideograph-numeric: extra space between East Asian or Arabic characters and digitsideograph-parenthesis: extra space between East Asian or Arabic characters and parenthesesideograph-space: extra space between East Asian or Arabic characters and spacesnone: no extra space
Default value: none
Compatibility
CSS version: not part of the CSS specification
Works only in Internet Explorer for Windows from version 5.
Corresponding functionality is planned for CSS3. The drafts indicate that the constants above will also be combinable. Current information is available on the CSS Working Group website.
Example
The following rule adds space between East Asian or Arabic characters and other symbols or Latin characters in paragraphs of the class gemischt:
p.gemischt {
text-autospace: ideograph-alpha;
}
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