Export (0) Print
Expand All

layoutGridMode property

Specifies whether the text layout grid uses two dimensions.

Internet Explorer 9

 

Syntax

Integer value = object.put_layoutGridMode( v);Integer value = object.get_layoutGridMode(* sMode);

Property values

Type: BSTR

both (both)

Default. Both the char and line grid modes are enabled. This setting is necessary to fully enable the layout grid on an element.

none (none)

No grid is used.

line (line)

Only a line grid is used. This is recommended for use with inline elements, such as a span, to disable the horizontal grid on runs of text that act as a single entity in the grid layout.

char (char)

Only a character grid is used. This is recommended for use with block-level elements, such as a blockquote, where the line grid is intended to be disabled.

String format

both | none | line | char

CSS information

Applies ToAll elements
Mediavisual
Inherited1
Initial Value

Standards information

There are no standards that apply here.

Remarks

Windows Internet Explorer 8. The IHTMLCurrentStyle::layoutGridMode attribute is an extension to CSS, and can be used as a synonym for layout-grid-mode in IE8 Standards mode.

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 IHTMLRuleStyle2::layoutGrid attribute to incorporate this layout into Web documents.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft