text-autospace

書式

text-autospace:表示方法

対象

全ての要素

継承

する

初期値

none

バージョン

-

対応ブラウザ

Win IE5.0以降

解説

文字の表示位置を指定します。text-alignプロパティと組み合わせて使用します。
設定名方法
none標準
ideograph-numeric表意文字と数字の間を空ける
ideograph-alpha表意文字と非表意文字の間を空ける
ideograph-space表意文字と非表意文字の間を広く空ける
ideograph-parenthesis表意文字と半角の(と)の間を空ける
サンプルコード
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>Sample</title>
<style type="text/css"><!--
body { margin:0px; }
div { position:absolute; top:10;left:10px;
text-autospace:ideograph-numeric;
}
--></style>
</head>
<body>
<div>サンプルテキスト123です。<br>Sample Text 123...</div>
</body>
</html>
実際のサンプルを実行する