首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > JavaScript >

运用JSTL标签 table三列换行

2012-10-09 
使用JSTL标签 table三列换行table width90% border0 cellspacing3 cellpadding3 aligncent

使用JSTL标签 table三列换行

<table width="90%" border="0" cellspacing="3" cellpadding="3" align="center"  id="_ga1">                  <tr>                     <c:forEach var="g" items="${gamecome}" varStatus="st">                                 <td>                                    <a href="<%=request.getContextPath() %>/article/showGameTypes.do?pid=${g.sourceType.id }"> ${g.name }</a>                                 </td>                               <c:if test="${(st.count % 3) eq '0'}"></tr></c:if>                             </c:forEach>                             <tr>                 </tr>                     </table>

热点排行