table 에서 width=100%와 margin 주기[두번째]
<html><body style="background-color:gray;">
<p style="background-color:yellow; width=100px;">
<table width=100% style="margin:10px;background-color:blue;" >
<tr><td> </td</tr>
</table>
</p>
</body></html>
그림에서 보다시피 테이블은 120이 됩니다. 원하는 결과가 아니죠.
<p style="background-color:yellow; width=100px;">
<table width=100% style="margin:10px;background-color:blue;" >
<tr><td> </td</tr>
</table>
</p>
</body></html>
그림에서 보다시피 테이블은 120이 됩니다. 원하는 결과가 아니죠.
첨부파일
|
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기
댓글 4개
여기에 설명이 아주 잘되어있네요..^^
http://morssola.dasir.co.kr/test/padding.html