-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
45 lines (41 loc) · 875 Bytes
/
index.html
File metadata and controls
45 lines (41 loc) · 875 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>JS1 Homework - DOM+JS</title>
</head>
<body>
<style type="text/css">
/* Chess board */
#chess {
border-spacing: 10px;
border-collapse: collapse;
text-align: center;
width: 500px;
margin: 0 auto;
padding-top: 25px;
}
.caption{display: table-caption; border: 0px;}
.cell{background: white; display: table-cell; border: 1px solid black; width: 50px; height: 50px;}
.row{background: white; display: table-row; border: 0px;}
/* /Chess board */
/* Display */
.display{
position: fixed;
width: 100%;
top: 0;
background: #f7f7f7;
text-align: center;
}
.displayIn{
width: 50%;
margin: 0 auto;
}
/* /Display */
</style>
<h1> </h1>
<div id="chess">
</div>
<script src="js/main.js"></script>
</body>
</html>