Specifies the size of the character grid used for rendering the text content of an element.
Integer value = object.put_layoutGridChar(Variant v);Integer value = object.get_layoutGridChar(Variant* sCharSize);
Default. No character grid is set.
Largest character in the font of the element is used to set the character grid.
Floating-point number, followed by an absolute units designator (
pc) or a relative units designator (
px). For more information about the supported length units, see CSS Values and Units Reference.
Integer, followed by a percent sign (%). The value is a percentage derived from the dimensions of the parent object.
none | auto | <length> | <percentage>
|Applies To||All elements|
There are no standards that apply here.
Windows Internet Explorer 8. The IHTMLCurrentStyle::layoutGridChar attribute is an extension to CSS, and can be used as a synonym for layout-grid-char in IE8 Standards mode.
The visual effects of the IHTMLCurrentStyle::layoutGridChar attribute are similar to the IHTMLCurrentStyle::lineHeight property.
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.
The IHTMLCurrentStyle::layoutGridChar attribute applies only to block-level elements.
Note For this property to have an effect, the IHTMLCurrentStyle::layoutGridMode attribute must be set to char or both.
Minimum supported client
Minimum supported server
Windows Server 2003