둥근테이블 깔끔하게 코딩 정보
둥근테이블 깔끔하게 코딩본문
둥근테이블 html로 본문에 삽입하면 엄청지저분하고 나중에 골치아플때가 많은데
이렇게 table.php 로 파일만들고
<?
$table_start="
<table cellpadding='0' cellspacing='0' border='0' align='center' width=100% >
<tr>
<td><img src='$g4[path]/img/out_bco01.gif' width='7' height='6'></td>
<td background='$g4[path]/img/out_bbg01.gif'></td>
<td><img src='$g4[path]/img/out_bco02.gif' width='6' height='6'></td>
</tr>
<tr>
<td background='$g4[path]/img/out_bbg02.gif' width='7'></td>
<td>
";
$table_end="</td>
<td background=$g4[path]/img/out_bbg03.gif width='6'></td>
</tr> <tr>
<td><img src=$g4[path]/img/out_bco03.gif width=7 height=6></td>
<td background=$g4[path]/img/out_bbg04.gif></td>
<td><img src=$g4[path]/img/out_bco04.gif width=6 height=6></td>
</tr>
</table>
";
?>
둥근테이블쓸때 파일만 불러들여서
require"table.php";
<?=$table_start?>
본문 쌸라쌸라
<?=$table_end?>
하면 죠야효
1
댓글 5개
http://sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=43602&sca=&sfl=wr_content&stx=%C0%A5%C6%E4%C0%CC%C1%F6&sop=and (무한웹페이지생성스킨)
위에 스킨에 둥근 테이블을 넣어서 일반사용자가 글을 쓰면 자동으로 테이블안에 내용이 입력되어
출력이 되게 할수는 없는지요...
초보인지라....해결을 할수가 없네요..
자동 둥근 테이블
감사합니다.