[img=http://s13.sinaimg.cn/middle/69f22c72gc6355ef6ce1c&690][/img]
My original code is similar to the following. I want to change it to the form of the picture above, because my original The paging part always follows the data. If I want to change it, the paging part will always be at the bottom of the page. Then the data will be arranged as many rows as possible. When a certain number of rows is exceeded, the paging part will move down. , how to implement it well, it is best to write a little code
<table width="100%" cellpadding="0" cellspacing="0"> <tr> <td width="5%" height="30" xx </td> <td width="15%"> xx </td> </tr> <s:iterator value="XX"> <tr> <td><s:property value="xx"/> </td> <td> <s:property value="xx"/> </td> </tr> </s:iterator> <tr> <td> 这里是分页的标签 </td> </tr></table>
This is the paging tag |