0
在本頁面http://www.prllighting.com/中,我在單獨的引導列中的視頻旁邊(在主橫幅下方)有一個Photoplus小部件,我不明白爲什麼當頁面低於1200像素時,小部件會出現在iframe視頻下方。我把它們都放在DIV中,並且像這樣定義它們:如何使用iframe停止另一列下方的div中的div?
<div class="photoplus"><script type='text/javascript.....</script></div>
<div class="productpage-video"><iframe width="640" height="360"
src="https://www.youtube.com/embed/..."></iframe></div>
.photoplus {
display:inline-block;
width: 200px;
height:332px;
}
.productpage-video {
display:inline-block;
}
如何編輯它,使它們從不重疊?
感謝您的迴應,但這並沒有解決問題。問題在於,當您將瀏覽器的大小調整到1200 px以下時,photoplus小部件仍會部分位於視頻下方。實際上更糟。爲什麼一個div /列在另一個下面? – Greg