js 大界面里面包含framset 页面内容显示不全_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:24:53
Original
1389 people have browsed it

js iframe frameset html

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>CRP系统</title>	<link rel="icon" href="favicon.ico" type="image/x-icon"/>	<link rel="shortcut icon" href="favicon.ico" type="image/x-icon"/>	<style type="text/css">		*{			margin: 0px;			padding: 0px;  		}	</style></head><body style="width:100%;height:100%"><div  >    <iframe   scrolling="auto"  marginwidth="0px"  marginheight="0px" id="myiframe"  frameborder="0" style="width:100%; " src="fs.html"   ></iframe> </div></body></html>
Copy after login



我是要求全屏显示,但是结果是


回复讨论(解决方案)

fs.html内容没提供,一般iframe外面的div高度是由iframe内部高度决定的。如果像让iframe占满屏,可以在加载的时候将body的高度赋值给iframe的高度,iframe的高度使用百分比

我直接查看fs.html界面,是可以全屏显示的。

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!