aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-06-23 19:23:58 -0700
committerJose Antonio Marquez2012-06-23 19:23:58 -0700
commit31278a8f3839a637f2e3bbe3541989f118e6a578 (patch)
treeb335dc83364b4b096e5be6d7d7689f86583352a3
parent73a0368c02ffa4f6e0da078363cef6d6086bd45a (diff)
downloadninja-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.
-rwxr-xr-xjs/io/templates/files/html.txt6
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>