笔记本电脑上的表格格式正确...电话不会使用动画gif调整表格大小

时间:2018-10-14 08:41:54

标签: wordpress conditional-formatting

网站是www.lionofjudahworldwide.com

点击购买香

在笔记本电脑上尺寸正确。.

手机上的gif动画超出了范围...

这是代码

表A

<p><iframe width="560" height="315" src="https://www.youtube.com/embed/vWXK8yhFYm8" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe></p>

从youtube内部复制

表B

<img src="http://s2.favim.com/orig/150513/aesthetic-grunge-hipster-pale-Favim.com-2728352.gif" width="500" height="281" class="alignnone size-medium" />

1 个答案:

答案 0 :(得分:0)

请使用宽度(%)。

<p><iframe width="100%" height="315" src="https://www.youtube.com/embed/vWXK8yhFYm8" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe></p>

<img src="http://s2.favim.com/orig/150513/aesthetic-grunge-hipster-pale-Favim.com-2728352.gif" width="100%" height="281" class="alignnone size-medium" />

它将起作用。