You can use this sample: <td> @Html.LabelFor(model => model.IsActive) </td> <td> @Html.CheckBoxFor(model => model.IsActive, new { @style = "z-index: 99999 !important; margin-top: 0px;" }) @Html.ValidationMessageFor(model => model.IsActive) </td>
Work smarter, not harder.