When non-ideographic characters (such as numbers) are presented alongside ideographic characters, many designers prefer to include spacing to separate it from the surrounding ideographs. This property automates the creation of that space by introducing an in-line margin, the width of which corresponds to the width of existing ideographs.
Overview tablenone
text-autospace: ideograph-alpha
text-autospace: ideograph-numeric
text-autospace: ideograph-parenthesis
text-autospace: ideograph-space
text-autospace: none
By setting the text-autospace property to various keywords, one can easily modify the spacing standards of combinations of ideographic and non-ideographic characters.
tr:nth-child(3) {
text-autospace: ideograph-numeric;
}
tr:nth-child(4) {
text-autospace: ideograph-alpha;
}
tr:nth-child(5) {
text-autospace: ideograph-parenthesis;
}
Usage
This property acts in addition to other properties such as css/properties/word-spacing and css/properties/letter-spacing, meaning that you can use both properties and their effects will be compounded.
This property is not currently supported by any major browser.
Notes RemarksWindows Internet Explorer 8. The -ms-text-autospace attribute is an extension to CSS, and can be used as a synonym for text-autospace in IE8 Standards mode. An ideograph is a character in an Asian writing system that represents a concept or an idea, but not a particular word or pronunciation.
Syntax-ms-text-autospace: none | ideograph-alpha | ideograph-numeric | ideograph-parenthesis | ideograph-space
Microsoft Developer Network: [Windows Internet Explorer API reference Article]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4