You cannot use % because there is nothing to calculate the percentage against. % refers to height of containing element. The containing element in this case is the body, which has no well defined height since its height depends on its contents. So the % height specification is ignored.
|