Home >Web Front-end >HTML Tutorial >How to put frameset in body through iframe

How to put frameset in body through iframe

高洛峰
高洛峰Original
2017-03-07 11:31:562077browse

Because frameset and body are at the same level, frameset cannot be placed in the body. Here is a good method to put frameset in the body. I hope it will be helpful to everyone. Because the frameset and the body are at the same level, you cannot place the frameset in the body. You can first put an iframe in a page, and then direct it to a page. Put the frameset in this page

The code is as follows:

<body style="width:100%;height:100%;overflow: hidden;border:none;margin:0" > 
<iframe id="main_p_warp" src="<%=basePath%>pages/main.jsp" style="width:100%;height:100%" frameBorder="0"></iframe> 
</body>

For more related articles on how to put frameset in the body through iframe, please pay attention to the PHP Chinese website!

Statement:
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