jsp页面中怎么实现每四张图片换行显示?在线等
比如
<style type="text/css">
.table { margin-left:13px; border:1px solid #f1f1f1; padding:0px; overflow:hidden; clear: both;}
.menu { width:780px;margin:0 auto;}
#menu li{
float: left;
}
</style>
<div class="table">
<ul id="menu">
<logic:iterate id="it" name="indexForm" property="infoContentList" > <li>
<table>
<tr>
<td><img height="100" width="184" src='<bean:write name="it" property="st_img)"/>'/></td>
</tr>
</table>
</li>
</logic:iterate>
</ul>
</div>