Home > Web Front-end > HTML Tutorial > Iframe自适应高宽_html/css_WEB-ITnose

Iframe自适应高宽_html/css_WEB-ITnose

WBOY
Release: 2016-06-21 08:56:24
Original
950 people have browsed it

很简短的代码:```        var ifm= document.getElementById("iframe_userCenter");	ifm.height=document.documentElement.clientHeight;	ifm.width=document.documentElement.clientWidth;```
Copy after login

Related labels:
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