Home | Top | Free Ajax Editor | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |
Sets or retrieves the gridline value used for rendering the text content of an element.
Syntax
{ layout-grid-line : sLineSpace } |
object . style.layoutGridLine [ = sLineSpace ] |
Possible Values
sLineSpace | Variant that specifies or receives one of the following values.
|
The property is read/write for all objects except the following, for which it is read-only: currentStyle . The property has a default value of none . The Cascading Style Sheets (CSS) attribute is not 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
The visual effects of the layout-grid-line attribute are similar to the 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 layout-grid attribute to incorporate this layout into Web documents.
The layout-grid-line attribute applies only to block-level elements.
Note For this property to have an effect, the layout-grid-mode attribute must be set to line or both .Example
This example uses the layout-grid-line attribute to specify character layout for a block of text.
<STYLE> DIV.layout { layout-grid-line : auto } </STYLE>Standards Information
This property is part of a proposed addition to Cascading Style Sheets (CSS) .
Applies To
|
BLOCKQUOTE , BODY , CENTER , currentStyle , DD , DIR , DIV , DL , DT , FIELDSET , FORM , hn , HR , LI , LISTING , MARQUEE , MENU , OL , P , PLAINTEXT , PRE , runtimeStyle , style , TABLE , TD , TH , |
Home | Top | Free Ajax Editor | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |