我有如下Html代码
<%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>没有很好的执行导致foreach循环,请您建议我如何使用框,使我的格式看起来不坏?
发布于 2013-10-01 13:31:01
看看here。Marquee已被W3C否决,但答案中列出的替代方案寥寥无几。也许试着解释一下你想做什么。很有可能你真的不需要一个大蛋糕。
https://stackoverflow.com/questions/19109535
复制相似问题