레이어로 테이블을 짤때.. > 그누4 질문답변

그누4 질문답변

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

레이어로 테이블을 짤때.. 정보

레이어로 테이블을 짤때..

본문

일반적인 html 테이블형태
------------------------
<table style="border-width:1; border-color:#eaedf3; border-style:solid;" cellspacing="0" width="209" height="105" >
<tr>
<td width="110" height="20" bgcolor="#eaedf3" ></td>
<td width="99" height="20" bgcolor="#eaedf3"></td>
</tr>
<tr>
<td width="110" ></td>
<td width="99" ></td>
</tr>
<tr>
<td height="10" colspan="2"></td>
</tr>
</table>
---------------------------
이것을 css로 짜면 어떻게 해야하는지요?...
간단한거 같아서 몇번 시도했는데 역시 잘 안되네요.
한수 부탁드립니다.

댓글 전체

요즘 대세는 div

<div id = "menu">
</div>

style.css
#menu { clear:both; height:55px; text-align:center; overflow:hidden; }

참고 사이트는 현재 그누사이트 소스 보세요.. ^^
<style type="text/css">
.box {width:209px; border:1px solid; border-color:#eaedf3;}
.box1 {width:109px; height:20px; background-color:eaedf3; float:left;}
.box2 {width:98px; height:20px; background-color:eaedf3; float:left;}
.box3 {width:109px; height:20px; float:left;}
.box4 {width:98px; height:20px; float:left;}
.box5 {width:207px; height:20px; float:left;}
.clear {clear:both;}
</style>

<div class='box'>
<div class='box1'>1</div>
<div class='box2'>2</div>
<div class='clear'></div>
<div class='box3'>3</div>
<div class='box4'>4</div>
<div class='box5'>5</div>
</div>

이런건가요? 아니면 죄송;;
전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT