Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/79.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/clojure/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 根据屏幕调整iframe宽度(ASP.NET)_Html_Iframe - Fatal编程技术网

Html 根据屏幕调整iframe宽度(ASP.NET)

Html 根据屏幕调整iframe宽度(ASP.NET),html,iframe,Html,Iframe,我正在写ASP.NETMVC网站 我在我的网页上显示vimeo视频播放器 我是这样设置的 <iframe src="https://player.vimeo.com/video/197047485?color=ffffff" id="iframe1" width="800" height="600" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>

我正在写ASP.NETMVC网站

我在我的网页上显示vimeo视频播放器

我是这样设置的

<iframe src="https://player.vimeo.com/video/197047485?color=ffffff" id="iframe1" width="800" height="600" frameborder="0"  webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>

我需要根据屏幕调整它的大小

我怎么能做到


谢谢您的帮助。

身高和宽度以%.为准。谢谢您的帮助reply@dbasnett