Fandom

HTML & CSS Wiki

Text-autospace

648pages on
this wiki
Add New Page
Comments0 Share

The text-autospace property is used in CSS and certain HTML elements. This property controls the autospacing and narrow space width adjustment behavior of text. Ideographs are used in many Asian writing systems to represent concepts rather than letters or phonetic strings, and their interpretation may be context-sensitive. This property allows for spacing rules to take into account the presence of ideographs in document content.

ValuesEdit

  • none - No extra spacing is added.
  • ideograph-alpha - Creates extra spacing between ideographic character groups and non-ideographic text (such as Latin-based, Cyrillic, Greek, Arabic, or Hebrew content).
  • ideograph-numeric - Creates extra spacing between groups of ideographic text and numeric characters.
  • ideograph-parenthesis - Creates extra spacing between a normal (non-wide/half-width) parenthesis and ideograph characters.
  • ideograph-space - Extends the width of the space character when it is adjacent to ideographs.


HTML example:

<div style="text-autospace:ideograph-numeric;">This is numeric 123 and English 123 content. Imagine that the English has ideographic characters within, and you would get the idea of this property.</div>


CSS example:

h1 {
    text-autospace:ideograph-numeric;
}

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.