【发布时间】:2009-09-12 18:27:42
【问题描述】:
首先这是我正在使用和尝试做的事情:
此效果的最小设置: flowplayer.org/tools/demos/overlay/index.html
然后是 Apple Leopard 预览效果: flowplayer.org/tools/demos/overlay/apple.html
现在这是我遇到问题的页面 http://gentle-mist-64.heroku.com/pictures
我的问题: 当我点击图片时,图片显示在覆盖下方和右侧,
这一定是我的 CSS 定位与插件定位之间的冲突。
当我在没有布局的空白页面上尝试这个时,它工作得很好。
我的布局 css:
body {
background: url('/images/background.jpg');
}
#image_stage {
position: relative;
top: 30px;
margin: auto;
margin-top: 75px;
background-color: white;
width: 900px;
height: 520px;
}
#image_inside_stage {
float: left;
margin-top: 7px;
margin-left: 27px;
}
#logo {
position: absolute;
left: 725px;
top: 4px;
}
#see_through_box {
position: absolute;
background-color: black;
opacity: 0.66;
-moz-opacity: 0.66;
filter:alpha(opacity=66);
width: 665px;
height: 432px;
margin: 45px;
z-index: 99;
-moz-border-radius-topleft: 15px;
-moz-border-radius-topright: 0;
-moz-border-radius-bottomleft: 0;
-moz-border-radius-bottomright: 15px;
-webkit-border-top-left-radius: 15px;
-webkit-border-top-right-radius: 0;
-webkit-border-bottom-left-radius: 0;
-webkit-border-bottom-right-radius: 15px;
}
.inner_content {
position: absolute;
top: 75px;
left: 75px;
z-index: 99;
color: whitesmoke;
}
请大家帮忙。我想让这个插件工作。这比一个灯箱插件要好得多。我在整个网站上都使用了该插件,并希望继续使用它。
感谢您的任何意见,谢谢。 阿米
【问题讨论】:
-
如果您使用的是 FireFox,您能否利用 FireBug 查看在浏览器中打开时计算出的样式是什么?这可以帮助您了解真正有助于您的样式的因素。如果一切都失败了,您可以在自己的 CSS 声明中添加一些 !important 子句。
标签: css jquery-tools