高さ単位が % の要素の算出対象 (XML 宣言無し)


content

DOCTYPE

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

X/HTML

<div id="box01">content</div>

CSS

div#box01 {
  width: 300px;
  height: 100%;
}

Taichi Kaminogoya.