css div height 100% problem?

I would like a div to take all the screen height, that's why I found the following links: * http://www.webmasterworld.com/forum83/200.htm * http://www.thefutureoftheweb.com/blog/100-percent-height-interface the tricks: make the container have a specified height, for example: `body{height:100%}` seems work fine, however, I found that: once you add some doctype claim, for example: It doesn't work, at least at Firefox 3.*, it doesn't work. Any suggestions?

以上就是css div height 100% problem?的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » CSS3 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准