simplify html in build demo editor
This commit is contained in:
parent
183a0bf5ed
commit
731119bd56
1 changed files with 20 additions and 45 deletions
|
|
@ -1,45 +1,20 @@
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
<!DOCTYPE html>
|
||||||
"http://www.w3.org/TR/html4/strict.dtd">
|
|
||||||
|
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||||
<title>Editor</title>
|
<title>Editor</title>
|
||||||
<meta name="author" content="Fabian Jakobs">
|
<meta name="author" content="Fabian Jakobs, Kevin Dangoor, Joe Walker">
|
||||||
|
|
||||||
<style type="text/css" media="screen">
|
<style type="text/css" media="screen">
|
||||||
|
body { overflow: hidden; }
|
||||||
html {
|
#editor { position: absolute; top: 0; bottom: 0; left: 0; right: 0; }
|
||||||
height: 100%;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
overflow: hidden;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
height: 100%;
|
|
||||||
width: 100%;
|
|
||||||
font-family: Arial, Helvetica, sans-serif, Tahoma, Verdana, sans-serif;
|
|
||||||
font-size: 12px;
|
|
||||||
background: rgb(14, 98, 165);
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
|
|
||||||
#editor {
|
|
||||||
top: 0px;
|
|
||||||
left: 0px;
|
|
||||||
height: 100%;
|
|
||||||
width: 100%;
|
|
||||||
background: white;
|
|
||||||
}
|
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<div id="editor">function foo(items) {
|
<div id="editor">function foo(items) {
|
||||||
for (var i = 0; i < items.length; i++) {
|
for (var i = 0; i < items.length; i++) {
|
||||||
alert(items[i] + "juhu");
|
alert("Ace Rocks " + items[i]);
|
||||||
}
|
}
|
||||||
}</div>
|
}</div>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue