HTML and CSS Reference
In-Depth Information
Notes
• Under IE 8 this property is known as
-ms-interpolation-mode
to correctly show
it is an extension.
• At standard page zoom
nearest-neighbor
is used; otherwise,
bicubic
is
employed when not specified.
• This property is similar to
image-rendering
for Firefox.
layout-grid
This Microsoft-proposed CSS property defines a grid to be used in laying out Japanese or
Chinese characters in a Web document. This is a shorthand property for the more specific
layout grid properties.
Syntax
layout-grid: layout-grid-mode layout-grid-type layout-grid-line
layout-grid-char
where each value corresponds to the more specific property.
Example
<p style="layout-grid: char line 12px 12px .5in;">
A short text sample.
</p>
Compatibility
No specification
IE 5+
Note
• Under IE 8 this property is known as
-ms-layout-grid
to correctly show it is
an extension.
layout-grid-char
This Microsoft-proposed CSS property defines the size of the character grid used for laying
out Japanese or Chinese characters in a Web document.
Syntax
layout-grid-char:
none | auto |
length
|
percentage
where
length
is any positive length unit and
percentage
is a value derived from the size of the
parent element the rule is applied to.
Example
<p style="layout-grid-char: 50px">
A very short text sample.
</p>
Compatibility
No specification
IE 5+