简体   繁体   English

在图像上方显示绝对按钮的一点帮助

[英]A Little help for displaying absolute button on top of the image

I wanna show an absolute button on top of my first google images. 我想在我的第一个Google图片上方显示一个绝对按钮。 Basically, this button is suppose to be in the first div container's and top of the first image. 基本上,此按钮应该位于第一个div容器的第一个图像的顶部。 I repeat some thing to see whether it is working properly or not. 我再重复一遍,看看它是否正常工作。 However, the second absolute button does not appear, I guess it is under the first absolute button. 但是,第二个绝对按钮没有出现,我想它在第一个绝对按钮下面。 How to fix it to show each absolute buttons in the corresponding div container's first google image(white one). 如何修复它以在相应的div容器的第一个Google图像(白色)中显示每个绝​​对按钮。

I have done this ( http://jsbin.com/kenute/1/edit ), but it does not show properly. 我已经完成了此操作( http://jsbin.com/kenute/1/edit ),但是显示不正确。 Here I also use borders to see the problem caused by div tags, but still some problems i do not understand why? 在这里,我还使用边框查看由div标签引起的问题,但是仍然有些问题我不明白为什么?

任何绝对定位的东西都必须包含在具有相对定位的元素中

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM