'pixelHeight' Example : pixelHeight « CSS Attributes and Javascript Style Properties « HTML CSS Reference






'pixelHeight' Example

    
<head>
<script language="JavaScript">
    function function1(){
        myDiv.style.pixelHeight = 200; 
    } 
</script>
</head>
<body>
<div id="myDiv" 
     style="background-color:#EEEEEE; 
            position:absolute; width:300; 
            cursor:hand"; 
     onmouseover="function1()" 
     onmouseout="this.style.pixelHeight=60">
     Move your mouse here.
</div>
</body>

    
      
      








Related examples in the same category

1.'pixelHeight' Syntax and Note
2.'pixelHeight' is applied to