给我更好的主意做字幕标记在asp.net页面 [英] Give me better idea to do Marquee tag in asp.net page
本文介绍了给我更好的主意做字幕标记在asp.net页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
该娄code工作,但我不知道它写的方式或不?
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
推荐答案
的滚动字幕
控制是一个IE浏览器只控制,并已去$ P $前pcated长的时间。结果
我建议你看像一个jQuery插件等标准的替代品。
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.
例如:
- jQuery news ticker
- jQuery liScroll
这篇关于给我更好的主意做字幕标记在asp.net页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文