Tryit Editor v1.4

<html> <head> <script type="text/javascript"> function moveleft() { document.getElementById('image').style.position="absolute"; document.getElementById('image').style.left="0"; } function moveback() { document.getElementById('image').style.position="relative"; } </script> </head> <body> <img id="image" src="bulbon.gif" onmouseover="moveleft()" onmouseout="moveback()" width="100" height="180" /> </body> </html> | Your Result:
Edit the code above and click to see the result. | W3Schools.com - Try it yourself