ex05_3.html
2.32 KB
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
html{
color:#000;
background:#fff;
padding:20px 0;
font: 14px/20px "맑은 고딕", "Malgun Gothic", "굴림", "Gulim", Verdan, Arial, Tahoma;
}
#board {
width:100%;
border-color:#888;
border-width:2px;
border-top-style:solid;
border-bottom-style:solid;
margin:0;
padding:0;
}
div.row{
border-color:#ccc;
border-width:1px;
border-top-style:solid;
border-bottom-style:solid;
overflow:auto;
}
div.col{
text-align: center;
margin: 1em;
float: left;
}
div.number{
width:50px;
}
div.title{
color: #0b6cb3;
}
div.name{
width:50px;
float:right;
}
div.date{
width:80px;
float:right;
}
#header {
background: olive;
color: white;
font-weight: bold;
}
#header div.title {
color: white;
}
</style>
</head>
<body>
<div id="board">
<div id="header">
<div class="row">
<div class="col number">번호</div>
<div class="col title">제목</div>
<div class="col date">날짜</div>
<div class="col name">작성자</div>
</div>
</div>
<div id="content">
<div class="row">
<div class="col number">5</div>
<div class="col title">5th</div>
<div class="col date">2017-03-28</div>
<div class="col name">Mr.A</div>
</div>
<div class="row">
<div class="col number">4</div>
<div class="col title">4th</div>
<div class="col date">2017-03-27</div>
<div class="col name">Mr.A</div>
</div>
<div class="row">
<div class="col number">3</div>
<div class="col title">3rd</div>
<div class="col date">2017-02-28</div>
<div class="col name">Mr.A</div>
</div>
<div class="row">
<div class="col number">2</div>
<div class="col title">2nd</div>
<div class="col date">2016-03-28</div>
<div class="col name">Mr.A</div>
</div>
<div class="row">
<div class="col number">1</div>
<div class="col title">1st</div>
<div class="col date">2015-01-26</div>
<div class="col name">Mr.A</div>
</div>
</div>
</div>
</body>
</html>