Tag Archives: Text Change Position

Text Change Position

Text Change Position <html> <head> <script> function moveleft() { document.getElementById(‘header’).style.position=”absolute”; document.getElementById(‘header’).style.left=”0″; } function moveback() { document.getElementById(‘header’).style.position=”relative”; } </script> </head> <body> <h1 id=”header” onmouseover=”moveleft()” onmouseout=”moveback()”> Mouse over this text</h1> </body> </html> OUTPUT: Mouse over this text