엠

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

일반적인 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로 짜면 어떻게 해야하는지요?...
간단한거 같아서 몇번 시도했는데 역시 잘 안되네요.
한수 부탁드립니다.

댓글 3개

요즘 대세는 div

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

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

참고 사이트는 현재 그누사이트 소스 보세요.. ^^
힝~~카루이님
질문에 html 테이블형태의 테그를 css로 나타낼려고 하는 거인데..^^

꼭 저 형태로 나올수 있게 한 수 부탁드려용~
<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>

이런건가요? 아니면 죄송;;
댓글을 작성하시려면 로그인이 필요합니다.

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

+
제목 글쓴이 날짜 조회
08-02-12 조회 1,724
08-02-11 조회 1,777
08-02-09 조회 1,712
08-01-25 조회 2,531
08-01-25 조회 1,705
08-01-25 조회 1,624
08-11-04 조회 991
08-10-30 조회 937
08-10-10 조회 875
08-10-06 조회 938
08-10-02 조회 1,230
08-09-29 조회 949
08-09-26 조회 887
08-09-22 조회 904
08-09-02 조회 1,074
08-09-01 조회 928
08-08-29 조회 742
08-08-24 조회 881
08-08-22 조회 1,073
08-12-07 조회 1,103