日期:2014-05-17  浏览次数:20932 次

ASP的图片排列改为横行排列!
这是代码。请问要怎么改才能变成7个图标一行,一共2行的代码。谢谢!
<%   set   rs=server.createobject( "adodb.recordset ")
          sql= "SELECT   top   4   *   FROM   person   WHERE   pok=1   ORDER   BY   ID   DESC "
          rs.open   sql,conn,1,1   %>                
                            <table   height= "488 "   cellspacing= "0 "   cellpadding= "0 "   width= "140 "   border= "0 ">
                                <tbody>
                                <%   do   while   not   rs.eof   %>
                                    <tr>
                                        <td   align= "middle "   width= "150 "   height= "30 "> <p   align= "center "> <img   height= "103 "   src= " <%=rs( "pic ")%> "  
                                    width= "155 "   border= "0 "   /> </p> </td>
                                    </tr>
                                    <tr>
                                        <td   align= "middle "   width= "150 "   height= "20 "> <%=rs( "uname ")%> </td>
                                    </tr>
                                <%                                                                                                                                      
                                                              rs.movenext