아무생각 없는 테이블 정렬...ㅠ..ㅠ... 정보
아무생각 없는 테이블 정렬...ㅠ..ㅠ...본문
클럽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>
댓글 전체

style="margin:0px left;" 는 무엇을 뜻하는건지요 (http://www.w3schools.com/CSS/css_margin.asp)
혹시 style="margin:0px;text-align:left;"인가요?
옆으로 연달아 나온다면 float 속성값을 없애주는 clear:both; 추가해보세요
혹시 style="margin:0px;text-align:left;"인가요?
옆으로 연달아 나온다면 float 속성값을 없애주는 clear:both; 추가해보세요
style="margin:0px left;" ... 좌측정렬을 하라고 넣어본건데 테스트용이어요.
float를 없애버리면, 테이블 안의 div 속성들까지 다 흩어지네요. ㅠ..ㅠ...
테이블 3개를 한방에 수직으로 놓는 방법이 없을까요?
float를 없애버리면, 테이블 안의 div 속성들까지 다 흩어지네요. ㅠ..ㅠ...
테이블 3개를 한방에 수직으로 놓는 방법이 없을까요?

1. 테이블과 테이블 사이 <div style="clear:both;"></div>를 위치시키는건 어떠신지요
<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 로 하시는건 어떠신지요
<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 로 하시는건 어떠신지요
낡은 style의 코딩이 많아서, div로 가기는 어려워요.
그냥 테이블 1개로 통일 하기는 했는데, 음... 왠지 찜찜하네요. ㅎㅎ
그냥 테이블 1개로 통일 하기는 했는데, 음... 왠지 찜찜하네요. ㅎㅎ