아무생각 없는 테이블 정렬...ㅠ..ㅠ...
클럽2에서 상하단을 정렬하기 위해서 아래처럼 했어요.
align=center일때는 문제가 없는데, left나 right가 되면 엉크러집니다.
뭔가 쌈빡하고 좋은 방법이 없을까요?
<table width="1024" border="0" align="left" cellpadding="0" cellspacing="0" style='margin:0px left' >
... 상단
</table>
<table width="1024" border="0" align="left" cellpadding="0" cellspacing="0" style='margin:0px left' >
... 내용
</table>
<table width="1024" border="0" align="left" cellpadding="0" cellspacing="0" style='margin:0px left' >
... 하단
</table>
align=center일때는 문제가 없는데, left나 right가 되면 엉크러집니다.
뭔가 쌈빡하고 좋은 방법이 없을까요?
<table width="1024" border="0" align="left" cellpadding="0" cellspacing="0" style='margin:0px left' >
... 상단
</table>
<table width="1024" border="0" align="left" cellpadding="0" cellspacing="0" style='margin:0px left' >
... 내용
</table>
<table width="1024" border="0" align="left" cellpadding="0" cellspacing="0" style='margin:0px left' >
... 하단
</table>
|
댓글을 작성하시려면 로그인이 필요합니다.
로그인
댓글 4개
혹시 style="margin:0px;text-align:left;"인가요?
옆으로 연달아 나온다면 float 속성값을 없애주는 clear:both; 추가해보세요
float를 없애버리면, 테이블 안의 div 속성들까지 다 흩어지네요. ㅠ..ㅠ...
테이블 3개를 한방에 수직으로 놓는 방법이 없을까요?
<table width="1024" border="0" align="left" cellpadding="0" cellspacing="0" style='margin:0px left' >
... 상단
</table>
<div style="clear:both;"></div>
<table width="1024" border="0" align="left" cellpadding="0" cellspacing="0" style='margin:0px left' >
... 내용
</table>
2. table 말고 div 로 하시는건 어떠신지요
그냥 테이블 1개로 통일 하기는 했는데, 음... 왠지 찜찜하네요. ㅎㅎ