'hasLayout' Example
|
|
<html> <body> <div align="left" id="myDiv1" style="width:50%; background-color:red" onMouseOver="alert('hasLayout property value: '+this.currentStyle.hasLayout)"> div segment </div> <br> <div align="left" id="myDiv2" style="background-color:aqua" onMouseOver="alert('hasLayout property value: '+this.currentStyle.hasLayout)"> div element has no layout or positioning set. </div> </body> </html>
|
|
|
|
|
HTML code for linking to this page:
|