'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>