'hasLayout' Example : hasLayout « Javascript Properties « JavaScript Reference

'hasLayout' Example

    
<html>
<body>
<div id="myDiv" style="width:500; height:200; background-color:red;">
<button onclick="alert(document.all.myDiv.currentStyle.hasLayout);">
Haslayout
</button>
</body>
</html>

    
      
      








Related examples in the same category

1.'hasLayout' Syntax and Note
2.'hasLayout' Possible Values
3.'hasLayout' is applied to