HTML CSS Reference/CSS Attributes and Javascript Style Properties/text autospace
Версия от 09:21, 26 мая 2010; (обсуждение)
Содержание
"text-autospace" Example
<html>
<body>
<div style="text-autospace:none;" >
text-autospace:none
</div>
</div>
</body>
</html>
"text-autospace" is applied to
+----------------+--------------------------------------------------------------+
| Applied_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"> |
| |<inputtype="checkbox"> <input type="file"> |
| |<input type="hidden"> <input type="image"> |
| |<input type="password"> <input type="radio"> |
| |<input type="reset"> <inputtype="submit"> |
| |<input type="text"> <ins> |
| |<isindex> <kbd> |
| |<label> <legend> |
| |<li> <link> |
| |<listing> <marquee> |
| |<menu> nextID |
| |<nobr> <noframes> |
| |<noscript> <object> |
| |<ol> <option> |
| |<p> <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> |
+----------------+--------------------------------------------------------------+
"text-autospace" Possible Values
Possible Values
none default; no extra spaces are added.
ideograph-alpha adds extra spacing between ideograph and non-ideograph texts.
ideograph-numeric adds extra spacing between ideograph and numeric characters.
ideograph-parenthesis adds extra spacing between ideograph and a normal parenthesis.
ideograph-space enlarges the width of the space character.
"text-autospace" Syntax and Note
Note:
Controls the space between ideograph text and alphanumeric text.
Ideograph characters belong to Asian writing systems.
Syntax:
element { text-autospace: value }
elementID.style.textAutospace = "value"
document.all.elementID.style.textAutospace = "value"