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






'layout-grid-line' Example

    
<html>
<body>
<p style="layout-grid-line:14px">This is only a sample text.</p>
<br>
<p id="myP">This is only a sample text.</p>

<button onclick="myP.style.layoutGridLine='40px'">
Set layoutGridLine to 40px
</button>

<button onclick="myP.style.layoutGridLine='40%'">
Set layoutGridLine to 40%
</button>

</body>
</html>

    
      
      








Related examples in the same category

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