채택완료

Table 소스 질문드립니다

2016-10-07 (금) 12:09:01 4,240

<table class="__se_tbl_ext" border="0">

<tbody><tr width="855">

<td width="427" height="128"><img src="http://totozl.co.kr/main_banner1.gif" width="426" height="128"></td>

<td width="427" height="128"><img src="http://totozl.co.kr/main_banner2.gif" width="426" height="128"></td>

</tr>

<tr width="855">

<td width="427" height="128"><img src="http://totozl.co.kr/main_banner3.gif" width="426" height="128"></td>

<td width="427" height="128"><img src="http://totozl.co.kr/main_banner4.gif" width="426" height="128"></td>

</tr>

<tr width="855" "="">

<td width="427" height="128"><img src="http://totozl.co.kr/main_banner5.gif" width="426" height="128"></td>

<td width="427" height="128"><img src="http://totozl.co.kr/main_banner6.gif" width="426" height="128"></td>

</tr>

</tbody></table>

위 소스를 사용중인데요 각각의 이미지가 딱딱 붙어 나와서 좀 그런데... 간격을 줄수있을까요??

상하좌우로 이미지마다 간격을 주고싶습니다 ㅎ...

|

답변 2개

채택된 답변
+20 포인트
Copy
<table class="__se_tbl_ext" border="0" cellpadding="10"><tbody><tr width="855"><td width="427" height="128"><img src="http://totozl.co.kr/main_banner1.gif" width="426" height="128"></td><td width="427" height="128"><img src="http://totozl.co.kr/main_banner2.gif" width="426" height="128"></td></tr><tr width="855"><td width="427" height="128"><img src="http://totozl.co.kr/main_banner3.gif" width="426" height="128"></td><td width="427" height="128"><img src="http://totozl.co.kr/main_banner4.gif" width="426" height="128"></td></tr><tr width="855" "=""><td width="427" height="128"><img src="http://totozl.co.kr/main_banner5.gif" width="426" height="128"></td><td width="427" height="128"><img src="http://totozl.co.kr/main_banner6.gif" width="426" height="128"></td></tr></tbody></table>

위와 같이 table에 cellpadding 값을 주시면 간격이 늘어날겁니다.

<style>

.__se_tbl_ext img {margin: 20px}

</style>

 

위 소스를 위에 추가해 보세요.

답변을 작성하려면 로그인이 필요합니다.