HTML CSS Reference/CSS Attributes and Javascript Style Properties/layout grid type

Материал из Web эксперт
Перейти к: навигация, поиск

"layout-grid-type" Example

   <source lang="html4strict">
   

<html> <body>

This is only a sample text.


This is only a sample text. <button onclick="myP.style.layoutGridType="fixed""> Set layoutGridType to fixed </button> </body> </html>


     </source>
   
  


"layout-grid-type" is applied to

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+

| Applied_To |
<body> | | |
currentStyle |

| |

<dir> |

| |
|

| |

<fieldset> | | |<form> <hn> |

| |
  • |

    | |<listing> <marquee> |

    | |<menu>
      | | |

                               |
      |                |runtimeStyle                    style                         |
      |                |                          |
      |                |
        <xmp> | +----------------+--------------------------------------------------------------+ </source>

        "layout-grid-type" Possible Values

        <source lang="html4strict"> Possible Values loose the default; for rendering Japanese and Korean characters strict for rendering Chinese characters fixed for laying out characters in a fixed amount of space.


        </source>



        "layout-grid-type" Syntax and Note

        <source lang="html4strict"> Note: Set layout-grid-type Syntax:

        element { layout-grid-type: value } elementID.style.layoutGridType = "value" document.all.elementID.style.layoutGridType = "value"


        </source>
      | | |