'layout-grid-type' Example : layout grid type « CSS Attributes and Javascript Style Properties « HTML CSS Reference






'layout-grid-type' Example

    
<html>
<body>
<div style="layout-grid-type:strict">
This is only a sample text.
</div>

<br>

<span id="myP">This is only a sample text.</span>

<button onclick="myP.style.layoutGridType='fixed'">
Set layoutGridType to fixed
</button>

</body>

</html>

    
      
      








Related examples in the same category

1.'layout-grid-type' Syntax and Note
2.'layout-grid-type' Possible Values
3.'layout-grid-type' is applied to