1

It seems like HTML5 does not support relative height of iframes. When adding

to my document height in the css rule

#content{width:100%; height:100%;border:1px solid;}

is ignored by firefox. Without the doctype, it works.

EDIT: I found that I needed to add size of html element as well. Now it works.

user877329
  • 5,419
  • 7
  • 34
  • 73

1 Answers1

0

Try making the iframe's position absolute:

#content{
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid;
}
LukeGT
  • 2,144
  • 1
  • 17
  • 20