text-autospace Attribute | textAutospace

HTML (DHTML)

text-autospace Attribute | textAutospace Property

Internet Development Index

Sets or retrieves the autospacing and narrow space width adjustment of text.

Syntax

HTML { text-autospace : sIdeograph }
Scriptingobject.style.textAutospace [ = sIdeograph ]

Possible Values

sIdeographString that specifies or receives one of the following values:
noneDefault. No effect takes place—that is, no extra space is added.
ideograph-alphaCreates extra spacing between runs of ideographic and non-ideographic text, such as Latin-based, Cyrillic, Greek, Arabic, or Hebrew text.
ideograph-numericCreates extra spacing between runs of ideographic text and numeric characters.
ideograph-parenthesisCreates extra spacing between a normal (non-wide) parenthesis and an ideograph.
ideograph-spaceExtends the width of the space character when it is adjacent to ideographs.

The property is read/write for all objects except the following, for which it is read-only: currentStyle. The property has a default value of none. The Cascading Style Sheets (CSS) attribute is not inherited.

Remarks

An ideograph is a character in an Asian writing system that represents a concept or an idea, but not a particular word or pronunciation.

Standards Information

This property is part of a proposed addition to Cascading Style Sheets (CSS) Non-Microsoft link.

Applies To

A, ACRONYM, ADDRESS, APPLET, B, BASE, BASEFONT, BDO, BGSOUND, BIG, BLOCKQUOTE, BODY, BUTTON, CAPTION, CENTER, CITE, CODE, COL, COLGROUP, COMMENT, currentStyle, CUSTOM, DD, defaults, DEL, DFN, DIR, DIV, DL, DT, EM, EMBED, FIELDSET, FONT, FORM, FRAME, HEAD, hn, HR, HTML, I, IFRAME, IMG, INPUT type=button, INPUT type=checkbox, INPUT type=file, INPUT type=hidden, INPUT type=image, INPUT type=password, INPUT type=radio, INPUT type=reset, INPUT type=submit, INPUT type=text, INS, ISINDEX, KBD, LABEL, LEGEND, LI, LINK, LISTING, MARQUEE, MENU, nextID, NOBR, NOFRAMES, NOSCRIPT, OBJECT, OL, OPTION, P, PLAINTEXT, PRE, Q, RT, RUBY, runtimeStyle, S, SAMP, SCRIPT, SELECT, SMALL, SPAN, STRIKE, STRONG, style, styleSheet, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TITLE, TR, TT, U, UL, VAR, XML, XMP