HTML and CSS Reference
In-Depth Information
Note
• Under IE 8+ this property is known as -ms-layout-grid-mode to correctly show it
is an extension.
layout-grid-type
This Microsoft-proposed CSS property defines the type of grid to be used for laying out
Japanese or Chinese characters in a Web document.
Syntax
layout-grid-type: fixed | loose | strict
where fixed is used for a monospace font layout, strict is used for most complex
ideographic character types, and loose is used for more alphabetic types like hiragana
in Japanese.
Example
<p style="layout-grid-type: strict; layout-grid-line: 55px;">
A short text sample would likely be in Chinese, not English. </p>
Compatibility
No specification
IE 5+
Note
• Under IE 8+ this property is known as -ms-layout-grid-type to correctly show it
is an extension.
line-break
This property defines line-breaking rules for Asian text.
Syntax
line-break: normal | strict
Example
p {line-break: normal;}
Compatibility
No specification
Chrome 1+, IE 5+, Safari 2+
Notes
• Under IE 8+ this property is known as -ms-line-break to correctly show it is an
extension. Under WebKit-based browsers this is called -webkit-line-break since
Safari 3.0 and -khtml-line-break since Safari 2.0.
• This property is deprecated according to Microsoft documentation and should be
replaced by word-break per the upcoming CSS3 specification.
Search WWH ::




Custom Search