Sets or retrieves the composite document grid properties that specify the layout of text characters.
Syntax
HTML
{ layout-grid : sLayout }
Scripting
object.style.layoutGrid [ =sLayout ]
Possible Values
sLayout
String that
specifies or receives one or more of the following values:
mode
Any of the range of mode values available to the layoutGridMode property.
type
Any of the range of type values available to the layoutGridType property.
line
Any of the range of line values available to the layoutGridLine property.
char
Any of the range of character values available to the layoutGridChar property.
The property is read/write.
The property has a default value of
both loose none none. The Cascading Style Sheets (CSS) attribute is
inherited.
Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see>About Dynamic Properties.
Remarks
Web documents in Asian languages, such as Chinese or Japanese, usually create a page layout for characters using a one- or two-dimensional grid. You can use the layout-grid attribute to incorporate this layout into Web documents.
Example
This example uses the layout-grid attribute to specify character layout for a block of text.
<STYLE>
DIV.layout { layout-grid: both fixed 12px 12px }
</STYLE>
<DIV CLASS = "layout">
This is a block element containing a sentence of sample text.
</DIV>
Standards Information
property is part of a proposed addition to
Cascading Style Sheets (CSS) .