我得到了代码,它一个接一个地显示项目:
<ul class="side-products-list padleft">
<!-- Designers #1 Starts -->
<cfoutput query="lstdesigners">
<cfset getProducts = Application.tools.getDesignerProducts(cw_designerID)>
<li class="clearfix">
<h5><a href="javascript:;">#reReplace(lcase(cw_designerName),"(^[a-z])","\U\1","ALL")# (#getProducts.total#)</a></h5>
<cfif FileExists(Expandpath('corecontrol/designers/#image#'))>
<img src="corecontrol/designers/#image#" alt="#cw_designerName#" class="img-responsive" />
<cfelse>
<img src="#request.imagespath#nomovieimage.jpg" alt="#cw_designerName#" class="img-responsive" />
</cfif>
</li>
</cfoutput>
<li>
<h5><a href="javascript:;">All Designers</a></h5>
<cfoutput><img src="#request.imagespath#icons-design.gif" width="122" height="114" alt="All Designers" class="img-responsive" /></cfoutput> </li>
<!-- Designers #1 Ends -->
</ul>
我想为这些东西显示两列布局,我有点迷失了
知道如何在这个 ul li 中使用 mod 操作数