需求: 客户为了向展示更多信息,要求把浏览器头部的菜单都给屏蔽掉,留出更多的空间, 当然F11 浏览器全屏模式可以解决,但是客户说 NO, 所以就定义了一个 高宽都是 100%的页面,再把想要的东西嵌套进去,看代码。</span>
<!DOCTYPE html>
<html style=="height:100%;height:100%;">
<head>
<title>111</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="-1" />
<HTA:application id="main" applicationName="Test HTA" />
<style>
*{
width:100%;
height:100%;
margin:0px;
padding:0px;
border:0px;
}
</style>
</head>
<body style="overflow:hidden">
<iframe src="http://localhost:8080/login.jsp" ></iframe>
</body>
</html>