이런 테이블은, css로 어떻게 표현하나요
Posted: 2005 07 19 19:17 50
Code: Select all
<table border="0" width="100%">
<tr>
<td>left</td>
<td align="right">right</td>
</tr>
<tr>
<td colspan="2">text</td>
</tr>
</table>
Firefox, Thunderbird 사용자 및 Mozilla 활동가 모임
http://3.34.94.169/
Code: Select all
<table border="0" width="100%">
<tr>
<td>left</td>
<td align="right">right</td>
</tr>
<tr>
<td colspan="2">text</td>
</tr>
</table>
table에서 div+css로 전환하는 방법은mike wrote:Code: Select all
<table border="0" width="100%"> <tr> <td>left</td> <td align="right">right</td> </tr> <tr> <td colspan="2">text</td> </tr> </table>
Code: Select all
<style type="text/css">
* {color:black}
#left {float:left; background-color: #ff9;}
#right {text-align:right; background-color:#9f9;}
#tail {clear: both; background-color:#99f;}
</style>
</head>
<body>
<div id="left">left</div>
<div id="right">right</div>
<div id="tail">text</div>
</body>
Code: Select all
테이블
<table>
<tr>
<td>가나다</td>
<td>마바사</td>
<tr>
</table>
CSS레이어
<div>가나다</div>
<div>마바사</div>