'posRight' Example : posRight « CSS « HTML / CSS

HTML / CSS » CSS » posRight 
'posRight' Example

    
<head>
<script language="JavaScript">
    function function1(){
        myDiv.style.posRight = 500;
    }
</script>
</head>
<body>
<div id="myDiv" 
     style="background-color:#EEEEEE; 
            position:absolute; 
            width:200;
            cursor:hand"
     onclick="function1()">
     Click your mouse here to set the posRight to 500.
</div>
</body>

    
      
      
Related examples in the same category
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.