最近作了网站 ,由于要限制图片新闻标题的长度,客户要求标题做成滚动形式,我google搜了一下午 ,也没找到合适的方案,那位高手能否指点一下,html代码如下:
<asp:DataList ID="DataList1" runat="server" RepeatColumns="4" CellPadding="5" HorizontalAlign="Left">
<ItemTemplate>
 <table width="110" border="0" cellpadding="0" cellspacing="0" bgcolor="#ffffff">
              <tr> 
                <td colspan="3"><img src="Images/mm_r1_c1a.jpg" width="110" height="4"></td>
              </tr>
              <tr> 
                <td width="4" background="Images/1a.jpg"><img src="Images/1a.jpg" width="4" height="118"></td>
                <td width="108" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td align="center">
                          <asp:Image ID="img1" runat="server" Height="80px" Width="90px" BorderColor="Black" BorderWidth="1px" /></td>
                    </tr>
                    <tr> 
                      <td height="40" valign="top"> 
                      <table width="100%" border="0" cellspacing="10" cellpadding="0" align="center">
                          <tr> 
                            <td class="text03"> 
                            <a href="pic_news.aspx?pageID=<%#DataBinder.Eval(Container.DataItem,"Type")%>&ID=<%#DataBinder.Eval(Container.DataItem,"id")%>"><%#DataBinder.Eval(Container.DataItem, "title")%></a>
                            
                            </td>
                          </tr>
                        </table>                                       
                        
                        
                        </td>
                    </tr>
                  </table></td>
                <td background="Images/3a.jpg" style="width: 9px"><img src="Images/3a.jpg" width="10" height="118"></td>
              </tr>
              <tr> 
                <td colspan="3"><img src="Images/1a.jpg" width="110" height="5"></td>
              </tr>
            </table>
 </ItemTemplate>
</asp:DataList>小弟先谢谢了!