0

I have a Html Code as following

 <%var list = ViewData["list"] as IList<Entity>;%>
<html>
<div>

<%foreach(var detail in list){ %>
<marquee behavior="scroll" direction="up" align ="center"><a href ="">
<%=detail.EventName%></a></marquee>

<%}%>
</div>
</html>

Is not executed well cause of foreach loop can you please suggest me that how should I use marquee that my format is not looks bad ?

4

1 回答 1

0

Take a look here. Marquee has been deprecated by the W3C but there area few alternatives listed in the answer. Maybe try explaining what you're trying to do. It's quite possible you don't actually need a marquee.

于 2013-10-01T13:31:01.150 回答