text-autospace property
Specifies the spacing rules between Western and Asian-based (such as Japanese and Chinese) characters.
In many Asian writing systems, such as Japanese and Chinese, there are ideographs that represent concepts rather than letters.
With the text-autospace property you have control over how spaces between ideographs and non-ideographic characters in are presented.
JavaScript page for this property: textAutospace. You can find other example(s) there. |
Possible values:
One of the following values:
Inserts extra spaces between ideographic and non-ideographic (Latin-based, Cyrillic, Greek, Arabic, or Hebrew) text. | |||||||
Inserts extra spaces between ideographic text and numeric characters. | |||||||
Inserts extra spaces between normal (non-wide) parentheses and ideographs. | |||||||
Extends the width of the space character when it is adjacent to ideographs. | |||||||
No extra space is added. |
Default: none.
Example HTML code 1:
This example illustrates the use of the text-autospace property:
|
||||
<head> <style> .spaceNone { text-autospace: none; } .spaceIdeoNum { text-autospace: ideograph-numeric; } </style> </head> <body> <div>Autospace none: </div> <p class="spaceNone">1一 2二 3三 4四 5五 6六 7七 8八 9九 10十</p> <br /> <div>Autospace ideograph-numeric: </div> <p class="spaceIdeoNum">1一 2二 3三 4四 5五 6六 7七 8八 9九 10十</p> </body> |
||||
|
||||
Did you find this example helpful?
|
Supported by tags:
a, abbr, acronym, address, b, baseFont, bdo, big, blockQuote, body, button, caption, center, cite, code, col, colGroup, dd, del, dfn, dir, div, dl, dt, em, fieldSet, font, form, H1, H2, H3, H4, H5, H6, html, i, input:button, input:file, input:password, input:reset, input:submit, input:text, ins, isIndex, kbd, label, legend, li, listing, marquee, menu, nobr, ol, p, pre, q, rt, ruby, s, samp, select, small, span, strike, strong, sub, sup, table, tBody, td, textArea, tFoot, th, tHead, tr, tt, u, ul, var, xml, xmp
Related pages:
color
font
font-family
font-size
font-size-adjust
font-style
font-variant
font-weight
text-align
text-align-last
text-decoration
text-indent
text-justify
text-kashida-space
text-overflow
text-shadow
text-transform
text-underline-position
font
font-family
font-size
font-size-adjust
font-style
font-variant
font-weight
text-align
text-align-last
text-decoration
text-indent
text-justify
text-kashida-space
text-overflow
text-shadow
text-transform
text-underline-position
External links:
User Contributed Comments