Home > Web Front-end > HTML Tutorial > js large interface contains frameset page content is not fully displayed_html/css_WEB-ITnose

js large interface contains frameset page content is not fully displayed_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:24:53
Original
1440 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



I asked for full screen display, but the result is


Reply Discussion (Solution)

The fs.html content is not provided. Generally, the height of the div outside the iframe is determined by the internal height of the iframe. If you want the iframe to fill the screen, you can assign the height of the body to the height of the iframe when loading. The height of the iframe uses a percentage

I directly checked the fs.html interface and it can be displayed in full screen.

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