height=100% do not work

后端 未结 1 397
感情败类
感情败类 2021-01-28 16:03

the code below are all height=100%, it works fine in chrome but it displayes very strange in firefox and ie7!it is not exactly the 100% height.anyone knows? thanks a million.

相关标签:
1条回答
  • 2021-01-28 16:20

    You may need a container div, with a min-height property. Writing 100% height in HTML for some reason is one of the hardest things to do.

    Here are some tutorials on how 100% height can be achieved

    http://www.dave-woods.co.uk/?p=144

    http://www.webmasterworld.com/forum83/200.htm

    0 讨论(0)
提交回复
热议问题