开发者

Give me better idea to do Marquee tag in asp.net page

开发者 https://www.devze.com 2022-12-29 21:49 出处:网络
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%;\">

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
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号