c# - foreach keeps creating blank elements -


i using visual studio mvc , did c# foreach loop menu of food , using bootstrap framework. can't figure away out remove before , after elements being created , blank. here code:

<div class="container">     @foreach (var mname in model)     {     <div class="col-md-6">     <p class="menu-list">@mname.menuname</p>         </div>     <div class="col-md-6">     <p class="menu-list-des">@mname.menudescription</p>     </div>     <div class="col-md-6">     <p class="menu-list">@mname.menutwo</p>     </div>     <div class="col-md-6">     <p class="menu-list-des">@mname.menutwodescription</p>     </div>     } </div> 

is there away remove elements?

enter image description here


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -