Home  >  Article  >  Web Front-end  >  我想实现,顶部导航和底部版权分别靠到网页顶部和底部,右边没有下拉滚动条。_html/css_WEB-ITnose

我想实现,顶部导航和底部版权分别靠到网页顶部和底部,右边没有下拉滚动条。_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:20:101300browse

我想实现,顶部导航和底部版权分别靠到网页顶部和底部,右边没有下拉滚动条。
并且能实现里面嵌套的iframe也能在IE6789遨游火狐等浏览器下面,没有滚动条,

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>无标题文档</title><style type="text/css"><!--body { margin:0 auto; height:100%;}#header {position:absolute; left:0; right:0; top:0; width:100%; height:100px; background-color:#999900;}#footer {position:absolute; left:0; right:0; bottom:0; width:100%; height:50px; background-color:#FFFF00;}#content {position:absolute; left:0; right:0; bottom:50px; top:100px; width:100%; height:100%; background-color:#009999;}--></style></head><body><div id="header">fsdfsdf</div><div id="content"> <iframe border="0" id="content" src="http://demo.sc.chinaz.com//Files/DownLoad/webjs1/201303/jiaoben742/" frameborder="0" height="100%" width="100%"></iframe></div><div id="footer">实得分是否sdaf fsdf</div></body></html>


回复讨论(解决方案)

仿照我这个写,就可以实现:nbsp;html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  

  无标题文档
  
  
  

    

        
     

        

        
        

    
     

不行啊。。。兄弟。。还是无法显示全部。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn