我想在我的滑块顶部放置一个图像 - 滑块中图像两侧的滚动条。 BitsyBride.com
现在它们是下一个链接,但正如您通过调整浏览器大小所看到的那样,它们会跳转。我在这个问题上尽力而为,只是希望它们是一个装饰性的形象。
那么,如何在此基础上放置图像呢?
#sliderwrap {
width: 100%;
padding: 40px 0;
overflow: hidden;
position: relative;
background-image: url(http://bitsybride.com/wp-content/themes/basement/images/linen3.png);
}
答案 0 :(得分:0)
你会在哪里推荐我把它放在mygallery中?
#mygallery{ padding:0;position: relative;}
.stepcarousel{
position: relative; /*leave this value alone*/
overflow: scroll; /*leave this value alone*/
width: 980px; /*Width of Carousel Viewer itself*/
height:300px; /*Height should enough to fit largest content's height*/
margin:0 auto;
padding:0;
}
.stepcarousel .belt{
position: absolute; /*leave this value alone*/
left: 0;
top: 0px;
}
.stepcarousel .panel{
float: right; /*leave this value alone*/
margin:0 40px 0 0;
border:none;
}
.thumb-title{
top:-105px;
right:0;
display:block;
position:absolute;
width: 250px; height:68px;
background: #eee url(images/line-h-l.png) top repeat-x;
margin:0;
overflow:hidden;
text-shadow:0 1px 1px #333;
}
.thumb-title-clear{
padding:10px 20px 10px 20px;
height:48px;
overflow:hidden;
}
.thumb-title h2 a {
display:block;
text-decoration: none;
font-size:16pt;
line-height:18pt;
height:50px;
overflow:hidden;
font-weight:bold;
}
.thumb-title h2 a:hover {
}
.stepcarousel .slideimg{
float: left; /*leave this value alone*/
background: #000 /*clip content that go outside dimensions of holding panel DIV*/
margin:0; /*margin around each panel*/
padding:0;
width:300px;
height:300px;
overflow:hidden;
border-radius:15px;
-moz-border-radius:15px; /* Firefox 3.6 and earlier */
}