我正在努力调整div
并使用我所有的努力float
并margins
没有带来我想要的东西。所以我认为这是正确的地方
基本上循环以下内容Foreach
:
<div class="comment_name">@Html.displayName</div>
<div class="comment_time">@Html.formattedDateTime(item.dTime.Value)</div>
<div class="comment_body">@item.displayComments</div>
并尝试显示如下文本:
Dispaly Name , 11 Feb 2013: User entered comment.
应该是什么CSS
让它工作?
跨度回答后更新
跨度工作。但是如果评论的长度很长,我会遇到问题。越来越像下面
Dispaly Name , 11 Feb 2013:The example will show you how to implement a read-only grid. This article tries to answer the following question
但应该是
Dispaly Name , 11 Feb 2013:The example will show you how to implement a read-only grid.
this article tries to answer the following question