I want to display a number of divs as inline-block. If I do this:
<div class="container">
    <div class="cell">xx</div>
    <div class="cell">xx</div>
    <div class="cell">xx</div>
</div>
I unfortunately get spaces in between the divs, whereas I want them to butt up. so one of the solutions is to do this:
<div class="container">
    <div class="cell">xx</div><div 
      class="cell">xx</div><div 
      class="cell">xx</div>
</div>
another solution is this:
<div class="container">
    <div class="cell">xx</div><!--
    --><div class="cell">xx</div><!--
    --><div class="cell">xx</div>
</div>
both of which are terrible.  Now my question: I have a c# foreach loop, where I attempted the last solution (because the first solution would be messy):
<div class="container">
    <!--
    @foreach (string page in pages)
    {
        --><div class="cell">
            @Html.Action(page)
        </div><!--
    }
    -->
</div>
...but of course, it won't compile (I get a parser error). what's a clean way to do this?
 
     
    