Home > Web Front-end > HTML Tutorial > I want to realize that the top navigation and bottom copyright are placed at the top and bottom of the web page respectively, and there is no drop-down scroll bar on the right side. _html/css_WEB-ITnose

I want to realize that the top navigation and bottom copyright are placed at the top and bottom of the web page respectively, and there is no drop-down scroll bar on the right side. _html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:20:10
Original
1382 people have browsed it

I want to realize that the top navigation and bottom copyright are placed at the top and bottom of the web page respectively, and there is no drop-down scroll bar on the right.
And the iframe nested inside can also be used under browsers such as IE6789 and Firefox without scroll bars.

<!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>
Copy after login


Reply to the discussion (solution)

Just copy what I wrote and you can achieve it: Untitled Document





                                                                                                                                            DownLoad/webjs1/201303/jiaoben742/" frameborder="0" height="100%" width="100%">


                                                                       . . brother. . Still can't show everything.

Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template