Home | Top | Free Ajax Editor | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |
Sets or retrieves the type of grid used for rendering the text content of an element.
Syntax
{ layout-grid-type : sType } |
object . style.layoutGridType [ = sType ] |
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.
The layout-grid-type attribute applies only to block-level elements.
Example
This example uses the layout-grid-type attribute to specify character layout for a block of text.
<STYLE> DIV.layout { layout-grid-type : strict } </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 , TR , UL , XMP |
Home | Top | Free Ajax Editor | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |