테스트 사이트 - 개발 중인 베타 버전입니다

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

· 13년 전 · 3649 · 2
1.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>
깨지기전 테이블과 깨진후의 테이블 이미지 올립니다
 

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기

댓글 2개

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

게시글 목록

번호 제목
8265
20403
20402
20401
20400
8259
20399
20398
8255
8249
8246
8242
20396
8240
20395
20394
31033
28385
20393
28380
20392
28377
20391
20390
20389
20388
20387
20386
20385
20384
20383
20382
8238
20380
20379
28376
28372
20378
20377
8235
20375
20374
20373
20372
20371
20370
28370
20369
28366
20368
20367
20366
20365
20364
20363
20362
20361
20360
20359
8231
20358
20357
20356
20355
20354
20353
20352
20351
20350
20349
20348
20347
20346
20345
20344
20343
20342
20341
20340
20339
20338
20337
20336
20335
20334
20333
20332
20331
20330
20329
20328
20327
20326
20325
20324
20323
20322
20321
20320
20319