CSS3 text-justify プロパティ
完全な CSS3 リファレンス
例
Justification changes spacing between words:
div
{
text-align:justify;
text-justify:inter-word;
} |
Try it yourself »
|
ブラウザ・サポート

text-justify プロパティをサポートしているブラウザはありません。
except Internet Explorer.
定義と用法
text-justify property specifies the justification method to use when text-align is set to
"justify".
This property specifies how justified text should be aligned and spaced.
| デフォルト値: |
auto |
| 継承: |
yes |
| バージョン: |
CSS3 |
| JavaScript構文: |
object.style.textJustify="inter-word" |
構文
| text-justify: auto|inter-word|inter-ideograph|inter-cluster|distribute|kashida|trim; |
| 値 |
説明 |
| auto |
The browser determines the justification algorithm |
| inter-word |
Increases/Decreases the space between words |
| inter-ideograph |
Justifies content with ideographic text |
| inter-cluster |
Only content that does not contain any inter-word spacing (such as Asian
languages) is justified |
| distribute |
Like the newspaper value, except that in East Asian languages (such as
Thai) the last line is not justified |
| kashida |
Justifies content by elongating characters |
| trim |
Specifies that compression is preferred to expansion and enables the
trimming of blank space in glyphs where allowed by typographic tradition |
完全な CSS3 リファレンス
|