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>
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.