이상태에선 a href를 못쓰나요? 정보
이상태에선 a href를 못쓰나요?본문
<td width="270" valign="top" <* p style="padding-right:35px"><img src="./images/1.gif" border="0"><img src="./images/2.gif" border="0">
<img src="./images/3.gif" border="0">
<img src="./images/4.gif" border="0">
<img src="./images/5.gif" border="0">
<img src="./images/6.gif" border="0"></td>
이 부분에서
<img src="./images/3.gif" border="0">
<img src="./images/4.gif" border="0">
<img src="./images/5.gif" border="0">
<img src="./images/6.gif" border="0"></td>
요 4개에 a href를 써서 링크를 이동시키고싶은데
<td><a href="index.html"><img src="./images/3.gif" border="0"></td>
이렇게 바꿔버리면 옆으로 새어나가요..
이미지를 아래로 일자로 쭉하려면 </td>를 맨 마지막에써야되는데..
방법이없나요?
<img src="./images/3.gif" border="0">
<img src="./images/4.gif" border="0">
<img src="./images/5.gif" border="0">
<img src="./images/6.gif" border="0"></td>
이 부분에서
<img src="./images/3.gif" border="0">
<img src="./images/4.gif" border="0">
<img src="./images/5.gif" border="0">
<img src="./images/6.gif" border="0"></td>
요 4개에 a href를 써서 링크를 이동시키고싶은데
<td><a href="index.html"><img src="./images/3.gif" border="0"></td>
이렇게 바꿔버리면 옆으로 새어나가요..
이미지를 아래로 일자로 쭉하려면 </td>를 맨 마지막에써야되는데..
방법이없나요?
댓글 전체
<td width="270" valign="top" style="padding-right:35px">
<a href="index.html"><img src="./images/1.gif" border="0"></a><br />
<a href="index.html"><img src="./images/2.gif" border="0"></a><br />
<a href="index.html"><img src="./images/3.gif" border="0"></a><br />
...
...
</td>
<a href="index.html"><img src="./images/1.gif" border="0"></a><br />
<a href="index.html"><img src="./images/2.gif" border="0"></a><br />
<a href="index.html"><img src="./images/3.gif" border="0"></a><br />
...
...
</td>
감사합니다 덕분에 해결됫어요!
<style>
td.test img{display:block}
</style>
<table>
<tr>
<td class="test">
<a href="index.html"><img src="<?=$g4['path']?>/img/title/ceo.jpg" border="0"></a>
<a href="index.html"><img src="<?=$g4['path']?>/img/title/ceo.jpg" border="0"></a>
<a href="index.html"><img src="<?=$g4['path']?>/img/title/ceo.jpg" border="0"></a>
</td>
</tr>
</table>
이미지에 블록 속성을 넣어줘도 되겠네요
td.test img{display:block}
</style>
<table>
<tr>
<td class="test">
<a href="index.html"><img src="<?=$g4['path']?>/img/title/ceo.jpg" border="0"></a>
<a href="index.html"><img src="<?=$g4['path']?>/img/title/ceo.jpg" border="0"></a>
<a href="index.html"><img src="<?=$g4['path']?>/img/title/ceo.jpg" border="0"></a>
</td>
</tr>
</table>
이미지에 블록 속성을 넣어줘도 되겠네요