HTML자스

table 태그로 둥근모서리 만들기 round table

비개인오후 2012. 6. 27. 16:01

아마 테크노트 사이트에서 본 것일거다.


<!-- #### round TOP ########## -->

<TABLE style="MARGIN-BOTTOM: 7px; TABLE-LAYOUT: fixed" border=0 cellSpacing=0 cellPadding=0 width="<?php echo $MainConfig_table_width; ?>" round_color="#eaeaea">

<TBODY>

<TR><TD height=1 width=1></TD><TD height=1 width=1></TD><TD height=1 width=1></TD><TD height=1 width=1></TD><TD bgColor=#eaeaea height=1></TD><TD height=1 width=1></TD><TD height=1 width=1></TD><TD height=1 width=1></TD><TD height=1 width=1></TD></TR>

<TR><TD height=1 colSpan=2></TD><TD bgColor=#eaeaea height=1 colSpan=2></TD><TD height=1></TD><TD bgColor=#eaeaea height=1 colSpan=2></TD><TD height=1 colSpan=2></TD></TR>

<TR><TD height=2></TD><TD bgColor=#eaeaea height=2></TD><TD height=2 colSpan=5></TD><TD bgColor=#eaeaea height=2></TD><TD height=2></TD></TR>


<TR><TD bgColor=#eaeaea></TD><TD colSpan=3></TD>

<TD vAlign=top><!-- #### round TOP FINISH ########## -->



이 사이에 round table 안에 들어갈 내용을 넣으면 된다.

<!-- #### round BOTTOM START ########## --></TD>

<TD colSpan=3></TD><TD bgColor=#eaeaea></TD></TR>


<TR><TD height=2></TD><TD bgColor=#eaeaea height=2></TD><TD height=2 colSpan=5></TD><TD bgColor=#eaeaea height=2></TD><TD height=2></TD></TR>

<TR><TD height=1 colSpan=2></TD><TD bgColor=#eaeaea height=1 colSpan=2></TD><TD height=1></TD><TD bgColor=#eaeaea height=1 colSpan=2></TD><TD height=1 colSpan=2></TD></TR>

<TR><TD height=1 colSpan=4></TD><TD bgColor=#eaeaea height=1></TD><TD height=1 colSpan=4></TD></TR>

</TBODY></TABLE>

<!-- #### round BOTTOM ########## -->