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
<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>
Users browsing this forum: Ahrefs [Bot] and 0 guests