그누보드 인덱스에서 최신글을 불러오는데 셀크기가 변해요ㅠ 정보
그누보드 인덱스에서 최신글을 불러오는데 셀크기가 변해요ㅠ본문
테이블에 가로셀을 두개 만들어서 최신글을 불러오는 스킨을 설치했습니다.
근데 셀의 좌우크기가 50%씩 고정되어 있지 않고
제목의 길이에 따라 크기가 달라지네요 ㅠㅠ 이거 고정할 수 있는 방법 없을까요??
아래는 소스입니다. ㅠ
<!-- 메인화면 최신글 시작 -->
<table width="100%" cellpadding=10 cellspacing=0>
<tr>
<td valign=top>
<?=latest("mw.latest.gray.v.1.0", "notice_1", 8, 35, "height=190");?>
</td>
<td valign=top>
<?=latest("mw.latest.gray.v.1.0", "cb_clubhouse", 8, 35, "height=190");?>
</td>
</tr>
</table>
<!-- 메인화면 최신글 끝 -->
근데 셀의 좌우크기가 50%씩 고정되어 있지 않고
제목의 길이에 따라 크기가 달라지네요 ㅠㅠ 이거 고정할 수 있는 방법 없을까요??
아래는 소스입니다. ㅠ
<!-- 메인화면 최신글 시작 -->
<table width="100%" cellpadding=10 cellspacing=0>
<tr>
<td valign=top>
<?=latest("mw.latest.gray.v.1.0", "notice_1", 8, 35, "height=190");?>
</td>
<td valign=top>
<?=latest("mw.latest.gray.v.1.0", "cb_clubhouse", 8, 35, "height=190");?>
</td>
</tr>
</table>
<!-- 메인화면 최신글 끝 -->
댓글 전체
수정후
<table width="100%" cellpadding=10 cellspacing=0>
<tr>
<td valign=top width="50%">
<?=latest("mw.latest.gray.v.1.0", "notice_1", 8, 35, "height=190");?>
</td>
<td valign=top width="50%">
<?=latest("mw.latest.gray.v.1.0", "cb_clubhouse", 8, 35, "height=190");?>
</td>
</tr>
</table>
각 td 에 값을 주면 안될까요?
<table width="100%" cellpadding=10 cellspacing=0>
<tr>
<td valign=top width="50%">
<?=latest("mw.latest.gray.v.1.0", "notice_1", 8, 35, "height=190");?>
</td>
<td valign=top width="50%">
<?=latest("mw.latest.gray.v.1.0", "cb_clubhouse", 8, 35, "height=190");?>
</td>
</tr>
</table>
각 td 에 값을 주면 안될까요?
아... 이렇게 가능한거였군요 ㅠㅠ 감사합니다. 초보탈출!! 아자아자 ^^!