Give me better idea to do Marquee tag in asp.net page
The bellow code working, but i don’t know it the write way or not?
<td align="center" style=" height:50px; width:100%; background-color:Red;wid开发者_如何学Goth:10%;">
<div id="divremview" >
<marquee behavior="scroll" direction="up">
<div id="div1"><asp:Label ID="Label1" runat="server" Text="Label">Hi</asp:Label></div>
</marquee>
</div> </td>
Also it not in center alignment. As usual it in left alignment
The marquee
control is a IE only control and has been deprecated long time ago.
I suggest you to look at other standard alternatives like a jQuery plug-in.
Examples:
- jQuery news ticker
- jQuery liScroll
精彩评论