이상태에선 a href를 못쓰나요? > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

이상태에선 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>를 맨 마지막에써야되는데..

방법이없나요?
  • 복사

댓글 전체

<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>
<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>

이미지에 블록 속성을 넣어줘도 되겠네요
© SIRSOFT
현재 페이지 제일 처음으로