|
主题:下载列表页是1行一列显示,怎么就是不能搞成1行2列显示? [收藏主题] | 转到: |
循环体应该改成下面那样式才行,然后可以能过css控制 .gameslist li{float:left;width:380px} 具体自己调吧
<div class="gameslist"> <ul> [loop={@num}] <li><table width="354" height="227" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="177" height="85"><table width="149" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="149" colspan="2" align="center"><a href="{@linkurl}"><img src="{@photourl}" width="149" height="194" border="0" /></a></td> </tr> <tr> <td align="center" bgcolor="#FCFCFC" class="x22"><a href="{@linkurl}" ><img src="../../Images/yitong/images/x11.jpg" width="48" height="19" border="0"> </a><a href="{@linkurl}" class="STYLE1"></a></td> <td height="30" align="center" bgcolor="#FCFCFC" class="x22"><a href="{@linkurl}"><img src="../../Images/yitong/images/x22.jpg" width="48" height="19" border="0"></a></td> </tr> </table> </td> <td width="523" align="right" valign="top"><table width="190" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="152" height="17" align="left" class="x22"><span class="blue"><a href="{@linkurl}">{@title}{@rank}</a></span></td> </tr> <tr> <td height="202" align="left" valign="top">{@intro}...</td> </tr> </table></td> </tr> </table></li> [/loop] </ul> </div> <div class="clear"></div> |
|
支持(0) | 反对(0) 顶端 底部 |
<上一主题 | 下一主题 > |