Loose-Info.com
Last Update 2007/01/16
TOP - CSS1(Cascading Style Sheets, level 1) - margin-bottom

要素の下端のマージンを指定します。
デフォルトは0(数値)です。パーセント値とキーワード"auto"も指定可能です。

(例)
<HTML> <HEAD> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <TITLE>テスト</TITLE> <STYLE type="text/css"> <!-- TD.test1 {height: 150px; vertical-align: bottom} TD.test2 {height: 150px; vertical-align: bottom} TD.test3 {height: 150px} TD.test4 {height: 150px} P.test1 {font: 12pt monospace; margin-bottom: 30px} P.test2 {font: 12pt monospace; margin-bottom: 30%} P.test3 {font: 12pt monospace; margin-bottom: auto} P.test4 {font: 12pt monospace; margin-bottom: auto; margin-top: 80px} --> </STYLE> </HEAD> <BODY> <TABLE width="600" border="1" cellspacing="0"> <TR> <TD class="test1"><P class="test1">abcde あいうえお</P></TD> <TD class="test2"><P class="test2">abcde あいうえお</P></TD> </TR> <TR> <TD class="test3"><P class="test3">abcde あいうえお</P></TD> <TD class="test4"><P class="test4">abcde あいうえお</P></TD> </TR> </TABLE> </BODY> </HTML>