新手求助,使用了框架的HTML页面都是填充整个浏览器显示区域的吗?_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:22:44
Original
1379 people have browsed it

HTML 框架 浏览器

       页面A使用了框架(frame),无论浏览器怎样放大缩小,页面A都填充整个显示区域,能不能也让该页面像CSDN的页面这样有大小的。这样两边可以留出少许空白,美观许多。
       我发现找到的框架页面都是填满整个浏览器的。
       如果我表述的不清楚,可以看一下框架页示例,链接:http://www.dreamdu.com/xhtml/exe_frameset2/。正经页面,没毒的。。。或者搜“梦之都 框架”,也可以找到里面的教程,有一些示例,看一下应该就知道我的意思了。
       先谢谢各位了。

回复讨论(解决方案)

包容iframe,只要把iframe的宽度设成100%,哪么iframe的宽度取决于a的宽度,你只要让a在浏览器放大缩小调整其宽度即可

包容iframe,只要把iframe的宽度设成100%,哪么iframe的宽度取决于a的宽度,你只要让a在浏览器放大缩小调整其宽度即可
用的是frame,不是iframe,都是设置子页面尺寸的方法,不知道怎么设置整个页面。
source:php.cn
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!