<!DOCTYPE HTML> <html> <head> <style> p { margin:0; } </style> </head> <body style="overflow:hidden;"> <div style="position: fixed; bottom: 0; z-index: 1; width: 100%; height: 50px; background-color: black;"></div> <div style="-moz-transform: scale(1);"> <script> for (var i = 1; i <= 100; ++i) { document.write("<p>This is some text: " + i + "\n"); } </script> </div> <script src="scrolling.js"></script> </body> </html>