'posWidth' Example : posWidth : CSS Attributes and Javascript Style Properties HTML CSS TUTORIALS


HTML CSS TUTORIALS » CSS Attributes and Javascript Style Properties » posWidth »

 

'posWidth' Example



    
<html>
<body>
<head>
<script language="JavaScript">
    function function1(){
        myDiv.style.posWidth = 200 
    
</script>
</head>
<body>
<div id="myDiv" 
     style="background-color:#EEEEEE; 
            position:absolute; 
            cursor:hand";
     onmouseover="function1()" 
     onclick="this.style.posWidth=900">
     Move your mouse in and click to set the posWIdth.
</div>
</body>
</html>

    
      
      



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo CSS Attributes and Javascript Style Properties
» posWidth