一行代码搞定
跨所有浏览器
这行css代码就是
如下使用
代码中使用
跨所有浏览器
这行css代码就是
background:url(<justel:imageserver/>${remark}) center no-repeat
如下使用
<div class="userSmallLogo" style="background:url(<justel:imageserver/>${remark}) center no-repeat"></div>
代码中使用
<s:iterator value="recommendQuanList" var="var">
<div style="margin:0 22px; ">
<div class="SmallLogoWrapper" >
<a href="${ ctx }/quan/s-view.action?quanId=${rowId}" title="${title}">
<s:if test="remark == null">
<div class="userSmallLogo" style="background:url(${ ctx}/images/quan_nosmalllogo.gif) center no-repeat"></div>
</s:if>
<s:else>
<div class="userSmallLogo" style="background:url(<justel:imageserver/>${remark}) center no-repeat"></div>
</s:else>
</a>
<p style="text-align:center;"><a href="${ ctx }/quan/s-view.action?quanId=${rowId}" title="${title}">${title }</a></p>
</div>
</div>
</s:iterator>