Give me better idea to do Marquee tag in asp.net page
Question
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;width: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
Solution
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:
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow