-
Notifications
You must be signed in to change notification settings - Fork 2
/
layout.html
72 lines (63 loc) · 1.31 KB
/
layout.html
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!DOCTYPE html>
<html>
<head>
<title>css layout</title>
<style type="text/css">
* {
margin: 0;
padding: 0;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
html,
body {
width: 100%;
height: 100%;
min-width: 800px;
}
div#kun_header {
width: 100%;
height: 60px;
background-color: red;
}
div#kun_main {
width: 100%;
height: 100%;
/*display: table;*/
background-color: blue;
}
/*
div#kun_deck,
div#kun_workplace {
display: table-cell;
}*/
div#kun_deck {
float: left;
width: 65px;
height: 100%;
background-color: yellow;
overflow: auto;
}
div#kun_workplace {
/*margin-left: 65px;*/
height: 100%;
background-color: gray;
}
div#kun_workplace div {
background-color: blue;
}
</style>
</head>
<body>
<div id="kun_header"></div>
<div id="kun_main">
<div id="kun_deck">222228</div>
<div id="kun_workplace">
<div id="kun_up">1</div>
<div id="kun_line">line</div>
<div id="kun_down">2</div>
</div>
</div>
</body>
</html>