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>
fs.html内容没提供,一般iframe外面的div高度是由iframe内部高度决定的。如果像让iframe占满屏,可以在加载的时候将body的高度赋值给iframe的高度,iframe的高度使用百分比
我直接查看fs.html界面,是可以全屏显示的。
HTML怎么学习?HTML怎么入门?HTML在哪学?HTML怎么学才快?不用担心,这里为大家提供了HTML速学教程(入门课程),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号