使用按钮对齐iframe

问题描述 投票:0回答:1

我试图将iframe与社交按钮对齐。这是我的网站:http://kickads.mobi/test/spotify/

问题是,我想把按钮放在iframe的正下方,将Spotify预览放在一行,将按钮放在另一行,但我不知道如何。我尝试过aboslute position and floating,但它不会起作用。我想把三个按钮放在iframe之后的一行中。

我该怎么做?我在不同的div中分离了按钮和iframe。

你能帮助我吗?

html5 button iframe
1个回答
0
投票

社交div上的以下CSS样式可以实现我认为你要求的:

#social {
   position: absolute;
   bottom: 0;
   min-height: 190px;
}

它会给你这个输出:

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.