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

コンテンツの幅を指定します。
数値のほかキーワード"auto"が指定可能です。デフォルトは"auto"です。

(例)

使用画像 : img_test.jpg
<HTML> <HEAD> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <TITLE>テスト</TITLE> <STYLE type="text/css"> <!-- TABLE.test1 {border: solid thin; width: 600; height: 100} TD.test2 {border: solid thin; width: 600; height: 200} IMG.test3 {width: auto; height: 100px} IMG.test4 {width: 100px; height: auto} --> </STYLE> </HEAD> <BODY> <TABLE class="test1"> <TR><TD>TEST1</TD></TR> </TABLE> <TABLE> <TR><TD class="test2">TEST2</TD></TR> </TABLE> <IMG class="test3" src="img_test.jpg"><BR> <BR> <IMG class="test4" src="img_test.jpg"><BR> </BODY> </HTML>