문제

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

도움이 되었습니까?

해결책

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:

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top