diff options
author | Jose Antonio Marquez | 2012-06-23 19:23:58 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-06-23 19:23:58 -0700 |
commit | 31278a8f3839a637f2e3bbe3541989f118e6a578 (patch) | |
tree | b335dc83364b4b096e5be6d7d7689f86583352a3 /js/io | |
parent | 73a0368c02ffa4f6e0da078363cef6d6086bd45a (diff) | |
download | ninja-31278a8f3839a637f2e3bbe3541989f118e6a578.tar.gz |
Adding soft reset
Adding a soft reset to the HTML file we create, this eliminates the margin/padding added to the page by browsers, and better illustrates what the user sees in Ninja.
Diffstat (limited to 'js/io')
-rwxr-xr-x | js/io/templates/files/html.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/js/io/templates/files/html.txt b/js/io/templates/files/html.txt index 3449ae39..33d50c49 100755 --- a/js/io/templates/files/html.txt +++ b/js/io/templates/files/html.txt | |||
@@ -10,6 +10,12 @@ | |||
10 | <meta name="generator" content="Motorola Mobility Ninja"> | 10 | <meta name="generator" content="Motorola Mobility Ninja"> |
11 | 11 | ||
12 | <style type="text/css"> | 12 | <style type="text/css"> |
13 | html, body { | ||
14 | width: 100%; | ||
15 | height: 100%; | ||
16 | margin: 0; | ||
17 | padding: 0; | ||
18 | } | ||
13 | </style> | 19 | </style> |
14 | 20 | ||
15 | </head> | 21 | </head> |