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 characters

  • ideograph-numeric: extra space between East Asian or Arabic characters and digits

  • ideograph-parenthesis: extra space between East Asian or Arabic characters and parentheses

  • ideograph-space: extra space between East Asian or Arabic characters and spaces

  • none: 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;
}

  

 

 

 

back to top