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






'layout-grid-mode' Example

    
<html>
<body>
<span style="layout-grid-mode:line">This is only a sample text.</span>
<br>
<span id="myS">This is only a sample text.</span>

<button onclick="myS.style.layoutGridMode='line'">
Set layoutGridMode to line
</button>


<button onclick="myS.style.layoutGridMode='char'">
Set layoutGridMode to char
</button>

</body>
</html>

    
      
      








Related examples in the same category

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