Can you post your style rules for .row and .block? You probably want to set the class row in the propety as well:
@Html.PropertyFor(x => x.Advice, new { CssClass = "row" ChildrenCssClass = "block" })
This will render:
<div class="row"> <div class="block"> Your block 1 content </div> <div class="block"> Your block 2 content </div> </div>
I fixed the problem by sending values to my block through:
@Html.PropertyFor(x => x.Advice, new { y = @Model.CurrentPage.Y})
I am trying to get my blocks in my ContentAre on one row. Now they end up on one row each.
Advice is my ContentArea that holds my blocks. I have tried different properties to PropertyFor without any luck.
Does anyone of you have any idea of how I can make this work?