Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/73.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/7/css/33.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 隐藏google文档栏以播放演示文稿_Html_Css_Iframe - Fatal编程技术网

Html 隐藏google文档栏以播放演示文稿

Html 隐藏google文档栏以播放演示文稿,html,css,iframe,Html,Css,Iframe,我有下面的代码,我正在使用谷歌文档显示演示文稿,我想知道是否有任何方法可以让我隐藏底部的栏,这样它就不会显示出来 <div style="width: 960; height: 540; background-color:White;"> <div style="z-index: -2;"><iframe src="https://docs.google.com/presentation/d/1FYhFR3a49gvmyqozJbtNe3eP7FogKJR

我有下面的代码,我正在使用谷歌文档显示演示文稿,我想知道是否有任何方法可以让我隐藏底部的栏,这样它就不会显示出来

<div style="width: 960; height: 540; 
    background-color:White;">
<div style="z-index: -2;"><iframe src="https://docs.google.com/presentation/d/1FYhFR3a49gvmyqozJbtNe3eP7FogKJRwGE9bN7tihSs/embed?start=true&amp;loop=false&amp;delayms=3000" frameborder="0" width="960" height="569"></iframe></div>
</div>

设置父div高度减去
iframe
高度,并使用
溢出:隐藏在父分区中

试试这个代码

<div style="width: 960px; height: 540px;background-color:White; overflow: hidden;">
      <iframe src="https://docs.google.com/presentation/d/1FYhFR3a49gvmyqozJbtNe3eP7FogKJRwGE9bN7tihSs/embed?start=true&amp;loop=false&amp;delayms=3000" frameborder="0" width="960" height="569"></iframe>
</div>

尝试添加rm=minimal

<iframe src="https://docs.google.com/presentation/d/1FYhFR3a49gvmyqozJbtNe3eP7FogKJRwGE9bN7tihSs/embed?start=true&loop=false&delayms=3000&rm=minimal" frameborder="0" width="960" height="569"></iframe>

z-index
仅适用于
位置:
css规则!