我最近购买了一个模板并尝试将其集成到Rails应用程序中。 添加html后,左边会显示div( training-posts-about-img ),但右边的那个( about-training-slider-wrapper )不是。
#training-posts-about h2.home-widget {
text-align: left;
}
.training-posts-about-img {width: 44%; float: left; margin-right: 1%;}
.training-posts-about-img img {margin: -85px 0px -90px -40px;}
.about-training-slider-wrapper {width: 55%;float: right;}
#training-posts-about .home-widget-caption {margin-left: 0px; margin- bottom: 25px;}
#training-posts-about .home-widget-description {font-size: 14px;}
Here is the page link, the first div with image 592X586
css:
Sub DoFolderPart1()
Dim FileSystem As Object
Dim HostFolder As String
HostFolder = "K:\Data Directories\Acquisitions"
Set FileSystem = CreateObject("Scripting.FileSystemObject")
DoFolder FileSystem.GetFolder(HostFolder)
End Sub
Sub DoFolder(Folder)
Dim SubFolder
Dim strName As String
Dim pos As Integer
For Each SubFolder In Folder.SubFolders
DoFolder SubFolder
Next
Dim File
strName = Folder.name
pos = InStr(strName, "June 2015")
If pos > 0 Then
For Each File In Folder.Files
If Right(File, 4) = "xlsx" Then
Workbooks.Open Filename:=File
'I want to put code here
End If
Next
End If
End Sub
我尝试将 overflow:hidden 添加到 width-container ,但这没有帮助。
答案 0 :(得分:0)
li上没有显示。这是导致问题的CSS:
.flexslider .slides>li {
display: none;
}
你可以在你的CSS中添加:
.flexslider .slides>li {
display: block !important;
}
答案 1 :(得分:0)
我没有阅读您的所有代码,但我发现您正在使用float
。通过使用float
,如果没有其他任何东西没有浮动,那么你实际上是移除了父容器的高度。