'pixelWidth' Example : pixelWidth « CSS « HTML / CSS






'pixelWidth' Example

    
<head>
<script language="JavaScript">
    function function1(){
        myDiv.style.pixelWidth = 200;
    } 
</script>
</head>
<body>
<div id="myDiv" 
     style="background-color:#EEEEEE; 
            position:absolute; width:400; 
            cursor:hand"; 
     onmouseover="function1()" 
     onmouseout="this.style.pixelWidth=60">
     Move your mouse in and out to set the pixelWidth.
</div>
</body>

    
      
      








Related examples in the same category