D

table 에서 width=100%와 margin 주기[두번째]

table.html.png
<html><body style="background-color:gray;">
<p style="background-color:yellow; width=100px;">
<table width=100% style="margin:10px;background-color:blue;" >
<tr><td>&nbsp;</td</tr>
</table>
</p>
</body></html>

그림에서 보다시피 테이블은 120이 됩니다. 원하는 결과가 아니죠.

첨부파일

table.html.png (1.8 KB)
0회 2006-03-10 22:15
|

댓글 4개

http://www.w3.org/TR/REC-CSS2/box.html

여기에 설명이 아주 잘되어있네요..^^
이 설명이 잘 되어 있는 걸 M$가 따르지 않으니 문제죠
영어는 까막눈이라... ㅡ.ㅡ,,

http://morssola.dasir.co.kr/test/padding.html
이런 방법도 있군요.

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기
🐛 버그신고