Pergunta

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 ?

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top