content

高さ単位が % の要素の算出対象 body 要素の最初の内包要素

content...


DOCTYPE

<?xml version="1.0" encoding="UTF-8"?>
<!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.