<table class="data-table">
<tr>
<th style="width: 200px;">
DescriptionDescription <%--in this case <td> is resized--%>
</th>
</tr>
<% foreach (var item in Model) { %>
<tr>
<td style="width: 200px;">
<%= Html.Encode(item.Description) %>
</td>
</tr>
<% } %>
</table>
browser html:
<table class="data-table">
<tr>
<th style="width: 200px;">
Description
</th>
</tr>
<tr>
<td >
This is description
</td>
</tr>
</table>
Is there a reason why the size specified for td is not applying on the View page? In Design view on VS 2008, the td size is applied, but after running the project in my browser, it does not show the specified size.