테이블깨짐 원인좀 알려주세요~~

· 2012-08-28 (화) 22:32:41 · 7928 · 2
1.jpg
2.jpg
index.php를 만들고있습니다
index페이지에 다음과같은 이미지를 불러오게하면 테이블이 깨집니다,
어떻게 수정해주어야 테이블이 깨지지않는지 알려주시면 고맙겠습니다
추가소스는  <img src="./image/customer01.png" width="200" height="150"> 입니다
 
index소스는 아래이고 테이블이 깨지는 모양도 스샷으로 찍어서 올립니다
부탁드립니다

<html>
<head>
   <link rel="shortcut icon" href="./icon/chiropractic.ico" width="128" height="128">
<title></title>
<!----테이블상단,하단,좌,우 여백 없애는 소스---->
<style type="text/css">
<!--
body {
 margin-left: 0px;
 margin-top: 0px;
 margin-right: 0px;
 margin-bottom: 0px;
}
-->
</style>
<!----테이블상단,하단,좌,우 여백 없애는 소스---->
<body>
  <table width="100" align="center" border="0" cellpadding="0" cellspacing="0">
     <tr>
         <td>
             <table width="1003" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td colspan="4" height="4" bgcolor="#1e4904">
                    </td>
                </tr>
                <tr>
                    <td align="center" colspan="4" height="60">
                         <? include "./swf/mainmenu.php"; ?>
                    </td>
                </tr>
                <tr>
                    <td bgcolor="#9c0790" colspan="4" height="261">
<? include "./swf/mainflash.php"; ?>
                    </td>
                </tr>
                <tr>
                    <td colspan="4" height="2">
                    </td>
                </tr>
                <tr>   
                    <td bgcolor="#15c2bc" rowspan="2" height="300">
                         <table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<img src="./image/customer01.png" width="200" height="150">
</td>
</tr>
                         </table>
                    </td>
                    <td bgcolor="#052d2c">
                    </td>
                    <td bgcolor="#34a116">
                    </td>
                    <td bgcolor="#775109">
                    </td>
                 </tr>
                 <tr>
                    <td colspan="3" bgcolor="red">
                    </td>
                 </tr>
                 <tr>
                     <td bgcolor="#c24d0e" colspan="4" height="100">
                     </td>
                 </tr>
                        </table>
                     </td>
                 </tr>
              </table>
         </td>
     </tr>
  </table>         
</body>
</html>
깨지기전 테이블과 깨진후의 테이블 이미지 올립니다
 

첨부파일

1.jpg (209.3 KB)
0회 2012-08-28 22:32
2.jpg (210.4 KB)
0회 2012-08-28 22:32
|

댓글 2개

사라진 td안에 내용을 채우면 화면에 보여집니다.
td안에 내용이 없어도 형태를 그대로 유지하게 해주려면 td에 width="" 사이즈를 주세요
시시시님~~
넘 감사합니다... 해결되었습니다^^
초보라 도움 많이 받았습니다.
댓글을 작성하시려면 로그인이 필요합니다.

개발자팁

5,403건

개발과 관련된 유용한 정보를 공유하세요. 질문은 QA에서 해주시기 바랍니다.

+
분류 제목 글쓴이 날짜 조회
PHP 12-09-05 조회 8,730
JavaScript 12-09-05 조회 8,935
Linux 12-09-05 조회 9,717
PHP 12-09-04 조회 8,185
PHP 12-09-04 조회 2,748
Mobile 12-09-03 조회 4,422
정규표현식 12-09-02 조회 5,463
jQuery 12-09-02 조회 3,954
jQuery 12-09-01 조회 3,354
기타 12-08-31 조회 5,087
Linux 12-08-31 조회 4,937
PHP 12-08-30 조회 2,570
Linux 12-08-30 조회 7,769
PHP 12-08-30 조회 2,688
node.js 12-08-30 조회 3,246
jQuery 12-08-30 조회 3,911
jQuery 12-08-30 조회 3,298
기타 12-08-29 조회 2,482
Mobile 12-08-29 조회 2,856
MySQL 12-08-29 조회 6,517
PHP 12-08-29 조회 2,287
Flash 12-08-29 조회 3,355
JavaScript 12-08-29 조회 3,757
PHP 12-08-29 조회 2,146
기타 12-08-28 조회 7,929
jQuery 12-08-28 조회 2,677
Mobile 12-08-27 조회 3,551
PHP 12-08-26 조회 2,870
JavaScript 12-08-26 조회 3,201
기타 12-08-24 조회 2,326