정말 간단한 테이블 질문하나 부탁드립니다!!!
다음사진 처럼 테이블을 설정하려하는데
위에 테이블 분할 크기와
아래 테이블 분할 크기가 개별적으로 분배가 안됩니다~!
증상은 위에 테이블 크기를 조절해버리면 중앙 테이블 분할선까지 같이 이동해버립니다. ;;
첫 분할선은 40% 60%
두번째 분할선은 20% 80%
세번째 분할선은 35% 65%
이런식으로 의도했는데
HTML 테이블 구축가능한겁니까~?
초보지만 독하게 먹고 그누보드 공부하고잇습니다 조언부탁드리겠습니다 !
첨부파일
|
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기
댓글 2개
<tr>
<td>
<table>
<tr>
<td width="30%"></td>
<td width="70%"></td>
</tr>
</table></td>
</tr>
<tr>
<td>
<table>
<tr>
<td width="70%"></td>
<td width="30%"></td>
</tr>
</table></td>
</tr>
</table>
<!-- 첫번째 줄 -->
<tr height='20'>
<td width='40%' bgcolor='red'></td>
<td width='60%' bgcolor='blue'></td>
</tr>
<!-- 두번째 줄 -->
<tr height='20'>
<td width='40%' bgcolor='red'></td>
<td width='60%' bgcolor='blue'></td>
</tr>
<!-- 세번째 줄 -->
<tr height='20'>
<td colspan='2' bgcolor='green'></td>
</tr>
<!-- 네번째 줄 -->
<tr>
<td colspan='2'>
<!-- 셀의 크기가 다를 경우 셀 안에 테이블을 넣어서 구성합니다. -->
<table cellpadding='0' cellspacing='0' border='0' width='100%' height='20'>
<tr>
<td width='20%' bgcolor='red'></td>
<td width='80%' bgcolor='blue'></td>
</tr>
</table>
</td>
</tr>
<!-- 다섯번째 줄 -->
<tr>
<td colspan='2'>
<table cellpadding='0' cellspacing='0' border='0' width='100%' height='20'>
<tr>
<td width='35%' bgcolor='red'></td>
<td width='65%' bgcolor='blue'></td>
</tr>
</table>
</td>
</tr>
</table>
이런식으로 셀 안에 테이블을 넣어서 구성하세요