I have an MVC5 application that uses bootstrap. The table column name is in black on a white background, and I want to change it to a blue background and the column name will be white, how can I do this? I tried playing with CSS classes without success ...
<input type="button" value="Add" onclick="addRow()" class="data-button" id="add-row" /> <table class="table" > <tr> <th> @Html.DisplayNameFor(model => model.name) </th> <th> @Html.DisplayNameFor(model => model.checkBox1) </th> <th></th> </tr>
source share