레이아웃 대해서...
------
head
------
메인
------
tail
------
이것은 알고 있는데
그림 대로 하고싶은데 어떻게 하는가요?
★ head ★
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
<table border="1">
<tr>
<td width="994" height="75" colspan="2">
<p align="center">head</p>
</td>
</tr>
<tr>
<td width="157" height="218">
<p align="center">meun1</p>
</td>
<td width="831" height="218">
<p align="center">
★ tail ★
</p>
</td>
</tr>
<tr>
<td width="994" height="62" colspan="2">
<p align="center">tail</p>
</td>
</tr>
</table>
<p> </p>
</body>
</html>
인가요?
head
------
메인
------
tail
------
이것은 알고 있는데
그림 대로 하고싶은데 어떻게 하는가요?
★ head ★
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
<table border="1">
<tr>
<td width="994" height="75" colspan="2">
<p align="center">head</p>
</td>
</tr>
<tr>
<td width="157" height="218">
<p align="center">meun1</p>
</td>
<td width="831" height="218">
<p align="center">
★ tail ★
</p>
</td>
</tr>
<tr>
<td width="994" height="62" colspan="2">
<p align="center">tail</p>
</td>
</tr>
</table>
<p> </p>
</body>
</html>
인가요?
첨부파일
|
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기
댓글 4개
body {text-align:center;}
#wrapper{margin:auto; width:800px}
#menu1{clear:both;}
#menu2 {float:left; width:150px;}
#tail {clear:both;}
</style>
<div id="wrapper">
<div id="header">My Home Page</div>
<div id="menu1"></div>
<div id="menu2"></div>
<div id="contents"> </div>
<div id="tail"></div>
</div>
요런방식이 나을듯요....
테이블로 자르면.... 대략 난감. 테이블은 레이아웃 안에 들어가는 내용을 엑셀같은 데이터일 경우에 사용하는게 좋고, 폼도 왠만하면 테이블보다 웹표준을 이용하시는게 나아요...