MyException - 我的异常网
当前位置:我的异常网» Java Web开发 » iterator 循环 tr td 怎么循环成3行4列有代码

iterator 循环 tr td 怎么循环成3行4列有代码(2)

www.MyException.Cn  网友分享于:2013-03-12  浏览:135次

<tr>
<td align="center" style="padding-top:10px;"><img src="images/star/jx.jpg" width="64" height="65"/></td>
</tr>
<tr>
<td align="center"><div id="div" style="font-weight:bold;"> <a style="cursor:default" >巨蟹座</a></div></td>
</tr>
</table>
</div>
</s:elseif>
  <s:elseif test="#cc=='sz'">
  <div style="float:left; padding:2px;margin-right:5px;margin-left:10px;margin-bottom:10px;">
<table width="143" height="125" border="0" cellpadding="0" cellspacing="0" background="./website_img/shop/shopIMG2.png">
<tr>
<td align="center" style="padding-top:10px;"><img src="images/star/sz.jpg" width="64" height="65"/></td>
</tr>
<tr>
<td align="center"><div id="div" style="font-weight:bold;"> <a style="cursor:default" >狮子座</a></div></td>
</tr>
</table>
</div>
</s:elseif>
  <s:elseif test="#cc=='cn'">
  <div style="float:left; padding:2px;margin-right:5px;margin-left:10px;margin-bottom:10px;">
<table width="143" height="125" border="0" cellpadding="0" cellspacing="0" background="./website_img/shop/shopIMG2.png">
<tr>
<td align="center" style="padding-top:10px;"><img src="images/star/cn.jpg" width="64" height="65"/></td>
</tr>
<tr>
<td align="center"><div id="div" style="font-weight:bold;"> <a style="cursor:default" >处女座</a></div></td>
</tr>
</table>
</div>
</s:elseif>
  <s:elseif test="#cc=='tp'">
  <div style="float:left; padding:2px;margin-right:5px;margin-left:10px;margin-bottom:10px;">
<table width="143" height="125" border="0" cellpadding="0" cellspacing="0" background="./website_img/shop/shopIMG2.png">
<tr>
<td align="center" style="padding-top:10px;"><img src="images/star/tp.jpg" width="64" height="65"/></td>
</tr>
<tr>
<td align="center"><div id="div" style="font-weight:bold;"> <a style="cursor:default" >天秤座</a></div></td>
</tr>
</table>
</div>
</s:elseif>
  <s:elseif test="#cc=='tx'">
  <div style="float:left; padding:2px;margin-right:5px;margin-left:10px;margin-bottom:10px;">
<table width="143" height="125" border="0" cellpadding="0" cellspacing="0" background="./website_img/shop/shopIMG2.png">

文章评论

软件开发程序错误异常ExceptionCopyright © 2009-2015 MyException 版权所有