왼쪽메뉴 위아래 간격 생기는데, 아시는 분 답변 부탁드립니다

img-errer.jpg
안녕하세요

첨부된 이미지 처럼 좌측메뉴 위아래에 약간의 간격이 있습니다

어디를 수정해야 될지 ... 이것저것 시도해 보지만 간격이 없어지지 않는군요

아시는 분 답변 부탁드립니다

수고하세요

--------------------

(소스내용)

<table cellpadding = "0" cellspacing = "0" style="width:224px;">
<tr>
<td align=left valign=top cellpadding="0" cellspacing="0" style="width:224px; height:24px;">
<a href = "<?=$g4[path]?>/shop/list.php?ca_id=10" style = "cursor:hand" onmouseover = "change_img(cpn_menu1, '<?=$g4[path]?>/img/submenu/sub0101-1.gif');" onmouseout = "change_img(cpn_menu1, '<?=$g4[path]?>/img/submenu/sub0101.gif');">
<img src = "<?=$g4[path]?>/img/submenu/sub0101.gif" name = "cpn_menu1" border="0"></a>
</td>
</tr>

<tr>
<td align=left valign=top cellpadding="0" cellspacing="0" style="width:224px; height:24px;">
<a href = "<?=$g4[path]?>/shop/list.php?ca_id=20" style = "cursor:hand" onmouseover = "change_img(cpn_menu2, '<?=$g4[path]?>/img/submenu/sub0102-1.gif');" onmouseout = "change_img(cpn_menu2, '<?=$g4[path]?>/img/submenu/sub0102.gif');">
<img src = "<?=$g4[path]?>/img/submenu/sub0102.gif" name = "cpn_menu2" border="0"></a>
</td>
</tr>

<tr>
<td align=left valign=top cellpadding="0" cellspacing="0" style="width:224px; height:24px;">
<a href = "<?=$g4[path]?>/shop/list.php?ca_id=30" style = "cursor:hand" onmouseover = "change_img(cpn_menu3, '<?=$g4[path]?>/img/submenu/sub0103-1.gif');" onmouseout = "change_img(cpn_menu3, '<?=$g4[path]?>/img/submenu/sub0103.gif');">
<img src = "<?=$g4[path]?>/img/submenu/sub0103.gif" name = "cpn_menu3" border="0"></a>
</td>
</tr>

<tr>
<td align=left valign=top cellpadding="0" cellspacing="0" style="width:224px; height:24px;">
<a href = "<?=$g4[path]?>/shop/list.php?ca_id=40" style = "cursor:hand" onmouseover = "change_img(cpn_menu4, '<?=$g4[path]?>/img/submenu/sub0104-1.gif');" onmouseout = "change_img(cpn_menu4, '<?=$g4[path]?>/img/submenu/sub0104.gif');">
<img src = "<?=$g4[path]?>/img/submenu/sub0104.gif" name = "cpn_menu4" border="0"></a>
</td>
</tr>

<tr>
<td align=left valign=top cellpadding="0" cellspacing="0" style="width:224px; height:24px;">
<a href = "<?=$g4[path]?>/shop/list.php?ca_id=50" style = "cursor:hand" onmouseover = "change_img(cpn_menu5, '<?=$g4[path]?>/img/submenu/sub0105-1.gif');" onmouseout = "change_img(cpn_menu5, '<?=$g4[path]?>/img/submenu/sub0105.gif');">
<img src = "<?=$g4[path]?>/img/submenu/sub0105.gif" name = "cpn_menu5" border="0"></a>
</td>
</tr>

<tr>
<td align=left valign=top cellpadding="0" cellspacing="0" style="width:224px; height:24px;">
<a href = "<?=$g4[path]?>/shop/list.php?ca_id=60" style = "cursor:hand" onmouseover = "change_img(cpn_menu6, '<?=$g4[path]?>/img/submenu/sub0106-1.gif');" onmouseout = "change_img(cpn_menu6, '<?=$g4[path]?>/img/submenu/sub0106.gif');">
<img src = "<?=$g4[path]?>/img/submenu/sub0106.gif" name = "cpn_menu6" border="0"></a>
</td>
</tr>

<tr>
<td align=left valign=top cellpadding="0" cellspacing="0" style="width:224px; height:24px;">
<a href = "<?=$g4[path]?>/shop/list.php?ca_id=70" style = "cursor:hand" onmouseover = "change_img(cpn_menu7, '<?=$g4[path]?>/img/submenu/sub0107-1.gif');" onmouseout = "change_img(cpn_menu7, '<?=$g4[path]?>/img/submenu/sub0107.gif');">
<img src = "<?=$g4[path]?>/img/submenu/sub0107.gif" name = "cpn_menu7" border="0"></a>
</td>
</tr>

<tr>
<td align=left valign=top cellpadding="0" cellspacing="0" style="width:224px; height:24px;">
<a href = "<?=$g4[path]?>/shop/list.php?ca_id=80" style = "cursor:hand" onmouseover = "change_img(cpn_menu8, '<?=$g4[path]?>/img/submenu/sub0108-1.gif');" onmouseout = "change_img(cpn_menu8, '<?=$g4[path]?>/img/submenu/sub0108.gif');">
<img src = "<?=$g4[path]?>/img/submenu/sub0108.gif" name = "cpn_menu8" border="0"></a>
</td>
</tr>

<tr>
<td align=left valign=top cellpadding="0" cellspacing="0" style="width:224px; height:75px;">
<img src = "<?=$g4[path]?>/img/submenu/sub0109.gif" name = "cpn_menu9" border="0">
</td>
</tr>

</table>

첨부파일

img-errer.jpg (139.2 KB)
0회 2012-12-22 11:58
|

댓글 6개

td에 cellpadding="0" cellspacing="0" 빼구요. table에 border="0" 줘보시고 안되면 td와 img 태그를 붙여 보세요.
위에 간격은 잘 모르겠는데, 아래 간격은
<td align=left valign=top cellpadding="0" cellspacing="0" style="width:224px; height:75px;">이 부분의 높이를 조정하시면 없어질것 같은데요. 이미지로봐서는 약 15px정도 줄이면 맞을것 같습니다만,,,
td에 들어간 style="width:224px; height:24px;" 부분들을 빼보세요.
샤샤샷님과 port 의견대로 해봤습니다
둘째삼식님 의견은 해당 이미지 크기가 224, 75라서 어떨지 ...
이미지를 적당사이즈로 줄이시면 되잖아요?
둘째삼식님 답변 감사합니다
이미지크기를 조정하면 다른 부분과 어긋납니다
포토샵시안을 짤라서 붙이는 형식이라서요

댓글 작성

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

로그인하기
🐛 버그신고