OLD | NEW |
---|---|
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style> | 4 <style> |
5 ::-webkit-scrollbar { | 5 ::-webkit-scrollbar { |
6 width: 0px; | 6 width: 0px; |
7 height: 0px; | 7 height: 0px; |
8 } | 8 } |
9 | 9 |
10 body, html { | 10 body, html { |
11 width: 100%; | 11 width: 100%; |
12 height: 100%; | 12 height: 100%; |
13 } | 13 } |
14 | 14 |
15 body { | 15 body { |
16 margin: 0px; | 16 margin: 0px; |
17 } | 17 } |
18 | 18 |
19 #container { | 19 #container { |
20 width: 100%; | 20 width: 100%; |
21 height: 100%; | 21 height: 100%; |
22 overflow: auto; | 22 overflow: auto; |
23 } | 23 } |
24 | 24 |
25 #spacer { | 25 #spacer { |
26 width: 400px; | 26 width: 800px; |
27 height: 400px; | 27 height: 800px; |
28 } | 28 } |
29 </style> | 29 </style> |
30 </head> | 30 </head> |
31 | 31 |
32 <body> | 32 <body> |
33 <div id="container"> | 33 <div id="container"> |
34 <div id="spacer"></div> | 34 <div id="spacer"></div> |
35 </div> | 35 </div> |
36 </body> | 36 </body> |
37 </html> | 37 </html> |
OLD | NEW |