How to make websites 3DS formatted/fitted: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 5: | Line 5: | ||
<head> | <head> | ||
<style> | <style> | ||
body{margin: | body{margin:0px;} | ||
#topscreen{ | #topscreen{height:220px;} | ||
#bottomscreen{ | #bottomscreen{height:212px;} | ||
</style> | </style> | ||
</head> | </head> | ||
Line 14: | Line 14: | ||
<div id="bottomscreen">BOTTOM SCREEN CONTENT</div> | <div id="bottomscreen">BOTTOM SCREEN CONTENT</div> | ||
<script> | <script> | ||
window.setInterval(function() | window.setInterval(function(){ | ||
window.scrollTo(40,220); | window.scrollTo(40,220); | ||
}, 50); | }, 50); |