Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // info
- var info = document.getElementById( 'hello' );
- info.style.position = 'absolute';
- info.style.right = '20px';
- info.style.top = '20px';
- info.style.color = '#ffffff';
- info.innerHTML = "This is my div!";
- document.body.appendChild( info );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement