<html>
<head>
<title> </title>
<style type="text/css">
#table {display: table; width: 50%;}
.row {display: table-row;}
.cell {display: table-cell; padding: 3px; border-bottom: 1px solid #DDD; font-size: small; }
.col1 { width: 20%;}
.col2 {width: 20%;}
.col3 {width: 40%;}
.col4 {width: 20%;}
</style>
</head>
<script language="javascript" >
</script>
<body>
<div id="table">
<div class="row">
<span class="cell col1"> 1-1</span>
<span class="cell col2"> 1-2</span>
<span class="cell col3"> 1-3</span>
<span class="cell col4"> 1-4 </span>
</div>
<div class="row">
<span class="cell col1"> 2-1</span>
<span class="cell col2"> 2-2</span>
<span class="cell col3"> 2-3</span>
<span class="cell col4"> 2-3</span>
</div>
<div class="row">
<span class="cell col1"> 2-1</span>
<span class="cell col2"> 2-2</span>
<span class="cell col3"> 2-3</span>
<span class="cell col4"> 2-4</span>
</div>
</div>
</body>
</html>


'[.js] no category' 카테고리의 다른 글

include , 포함인지 여부  (0) 2017.09.13
1초에 한번 함수 실행  (0) 2017.09.06
정수로 casting 예제  (0) 2017.09.06
Posted by 혜화초보
,