웹마스터 팁

test_1122.gif
<html>
<head>
<title> 모서리 동글동글 테이블만들기 </title>
<script language="JavaScript">
<!--
function zRound_Tbl(width,height,color,contents) {
var _Tbl;
var width_20 = width - 20;
_Tbl="<table cellpadding=0 cellspacing=0 border=0 width="+width+" height=10><tr><td width=10 height=1 colspan=10></td><td width="+width_20+" height=1 bgcolor="+color+"></td><td width=10 height=1 colspan=10></td></tr><tr><td width=8 height=1 colspan=8></td><td width=2 height=1 colspan=2 bgcolor="+color+"></td><td width="+width_20+" height=1 bgcolor="+color+"></td><td width=2 height=1 colspan=2 bgcolor="+color+"></td><td width=8 height=1 colspan=8></td></tr><tr><td width=6 height=1 colspan=6></td><td width=4 height=1 colspan=4 bgcolor="+color+"></td><td width="+width_20+" height=1 bgcolor="+color+"></td><td width=4 height=1 colspan=4 bgcolor="+color+"></td><td width=6 height=1 colspan=6></td></tr><tr><td width=5 height=1 colspan=5></td><td width=5 height=1 colspan=5 bgcolor="+color+"></td><td width="+width_20+" height=1 bgcolor="+color+"></td><td width=5 height=1 colspan=5 bgcolor="+color+"></td><td width=5 height=1 colspan=5></td></tr><tr><td width=4 height=1 colspan=4></td><td width=6 height=1 colspan=6 bgcolor="+color+"></td><td width="+width_20+" height=1 bgcolor="+color+"></td><td width=6 height=1 colspan=6 bgcolor="+color+"></td><td width=4 height=1 colspan=4></td></tr><tr><td width=3 height=1 colspan=3></td><td width=7 height=1 colspan=7 bgcolor="+color+"></td><td width="+width_20+" height=1 bgcolor="+color+"></td><td width=7 height=1 colspan=7 bgcolor="+color+"></td><td width=3 height=1 colspan=3></td></tr><tr><td width=2 height=1 colspan=2></td><td width=8 height=1 colspan=8 bgcolor="+color+"></td><td width="+width_20+" height=1 bgcolor="+color+"></td><td width=8 height=1 colspan=8 bgcolor="+color+"></td><td width=2 height=1 colspan=2></td></tr><tr><td width=2 height=1 colspan=2></td><td width=8 height=1 colspan=8 bgcolor="+color+"></td><td width="+width_20+" height=1 bgcolor="+color+"></td><td width=8 height=1 colspan=8 bgcolor="+color+"></td><td width=2 height=1 colspan=2></td></tr><tr><td width=1 height=1></td><td width=9 height=1 colspan=9 bgcolor="+color+"></td><td width="+width_20+" height=1 bgcolor="+color+"></td><td width=9 height=1 colspan=9 bgcolor="+color+"></td><td width=1 height=1></td></tr><tr><td width=1 height=1></td><td width=9 height=1 colspan=9 bgcolor="+color+"></td><td width="+width_20+" height=1 bgcolor="+color+"></td><td width=9 height=1 colspan=9 bgcolor="+color+"></td><td width=1 height=1></td></tr></table>";
_Tbl+="<table cellpadding=0 cellspacing=0 border=0 width="+width+" bgcolor="+color+" height="+height+"><tr><td width=20></td><td width="+width_20+" valign=top>"+contents+"</td><td width=20></td></tr></table>";
_Tbl+="<table cellpadding=0 cellspacing=0 border=0 width="+width+" height=10><tr><td width=1 height=1></td><td width=9 height=1 colspan=9 bgcolor="+color+"></td><td width="+width_20+" height=1 bgcolor="+color+"></td><td width=9 height=1 colspan=9 bgcolor="+color+"></td><td width=1 height=1></td></tr><tr><td width=1 height=1></td><td width=9 height=1 colspan=9 bgcolor="+color+"></td><td width="+width_20+" height=1 bgcolor="+color+"></td><td width=9 height=1 colspan=9 bgcolor="+color+"></td><td width=1 height=1></td></tr><tr><td width=2 height=1 colspan=2></td><td width=8 height=1 colspan=8 bgcolor="+color+"></td><td width="+width_20+" height=1 bgcolor="+color+"></td><td width=8 height=1 colspan=8 bgcolor="+color+"></td><td width=2 height=1 colspan=2></td></tr><tr><td width=2 height=1 colspan=2></td><td width=8 height=1 colspan=8 bgcolor="+color+"></td><td width="+width_20+" height=1 bgcolor="+color+"></td><td width=8 height=1 colspan=8 bgcolor="+color+"></td><td width=2 height=1 colspan=2></td></tr><tr><td width=3 height=1 colspan=3></td><td width=7 height=1 colspan=7 bgcolor="+color+"></td><td width="+width_20+" height=1 bgcolor="+color+"></td><td width=7 height=1 colspan=7 bgcolor="+color+"></td><td width=3 height=1 colspan=3></td></tr><tr><td width=4 height=1 colspan=4></td><td width=6 height=1 colspan=6 bgcolor="+color+"></td><td width="+width_20+" height=1 bgcolor="+color+"></td><td width=6 height=1 colspan=6 bgcolor="+color+"></td><td width=4 height=1 colspan=4></td></tr><tr><td width=5 height=1 colspan=5></td><td width=5 height=1 colspan=5 bgcolor="+color+"></td><td width="+width_20+" height=1 bgcolor="+color+"></td><td width=5 height=1 colspan=5 bgcolor="+color+"></td><td width=5 height=1 colspan=5></td></tr><tr><td width=6 height=1 colspan=6></td><td width=4 height=1 colspan=4 bgcolor="+color+"></td><td width="+width_20+" height=1 bgcolor="+color+"></td><td width=4 height=1 colspan=4 bgcolor="+color+"></td><td width=6 height=1 colspan=6></td></tr><tr><td width=8 height=1 colspan=8></td><td width=2 height=1 colspan=2 bgcolor="+color+"></td><td width="+width_20+" height=1 bgcolor="+color+"></td><td width=2 height=1 colspan=2 bgcolor="+color+"></td><td width=8 height=1 colspan=8></td></tr><tr><td width=10 height=1 colspan=10></td><td width="+width_20+" height=1 bgcolor="+color+"></td><td width=10 height=1 colspan=10></td></tr></table>";
document.write(_Tbl);
}
//-->
</script>
</head>
<body>
<script>zRound_Tbl("700","300","afd7ff","여기에 넣고 싶은걸 넣으면 되겠죠?");</script>
</body>
</html>
* DeX™님에 의해서 게시물 이동되었습니다 (2004-06-28 18:59)
제목 글쓴이 날짜
throttle-me를 이용한 계정 트래픽 나타내기 [39] file 旻天 2003.11.27
제로보드회원의 포인트 랭킹 체크하기 sql 정리 [4] 한꼬마 2003.11.26
한꼬마의 제로보드 이용법 (sql로 테이블 호출) [2] 한꼬마 2003.11.26
[Lotto 6/45] 로또 추첨 구현하기~ [5] file 전원주 2003.11.21
한꼬마의 제로보드 활용방법 (로그인 값 알아 보기) [3] 한꼬마 2003.11.20
회원 포인트 랭킹(중복 -_-a) [4] file weky 2003.11.15
제로보드회원의 포인트 랭킹 체크하기 [13] file 전원주 2003.11.15
지금은 시스템 점검중 만들기... [8] zentoo.com 2003.11.11
접속자의 IP를 화일로 저장(기능추가) [27] 전원주 2003.11.06
호스팅업체에서 GD를 지원하는지 여부를 알 수 있게해주는 소스 [12] Wizard 2003.11.05
홈페이지 관리자 모드 구축하기 (HTTP 인증, 중복 맞음) [10] file 9000㎒ 2003.11.01
include, onload, <span id=...> 다계층메뉴 활용 강좌 [2] 김병희 2003.10.25
신문기사 긁어오기 [28] horizon 2003.10.20
공지사항|일기장 4강 - notice.php 간단한 글보이기 시루바 2003.10.16
최신인기가요 순위 한방에 뽑아오기 [10] 제누스 2003.10.16
알기쉬운 웹용 MySQL 관리도구, phpMyAdmin 설치하기 [10] 허창원 2003.10.11
MSN Messenger Class - file HungryMania 2003.10.10
공지사항|일기장 3장 write_ok.php //간단한 입력쿼리문//수정 [5] 시루바 2003.10.08
내 홈페이지의 방문자 어디서 접속했을까 알아봅시다 [21] file 버찌소년 2003.10.08
공지사항|일기장 프로그램 2장:코딩구조와write.php [2] 시루바 2003.10.02