jquery循环导致border-bottom消失



我正在循环浏览一些div (div.slide)。在每个div.slide中有四个div包含图像缩略图。这四个div中的每一个都有一个border-bottom设置为1px solid #BBBDC0,但是一旦我添加了Cycle插件,border-bottom就停止显示了。我已经在下面为相关的div添加了CSS。

你可以在这里看到我的工作:http://dispose.co/Untitled-2.html

我错过了什么?我如何得到边框底部显示?

谢谢!

div.thumbtile {
width:186px;
height:314px;
margin-top:20px;
border-bottom:1px solid #BBBDC0;
margin-right:22px;
float:left;
text-align:center;
color:#A7A9AB;
font-family:Arial, Helvetica, sans-serif;
font-size:11px;
}

你试图显示的底部栏是隐藏的,因为你给以下容器(元素)的特定高度:

<标题>容器h1> 块h1> .thumbtile

增加它们的高度&你会看到酒吧。从上面的开始。另外,打开火狐浏览器,搜索"firebug"。安装这个插件并查看教程。我想你不知道这个插件。否则,你可能不会问这个问题。

希望有所帮助

最新更新