specified size of td
Posted
by ognjenb
on Stack Overflow
See other posts from Stack Overflow
or by ognjenb
Published on 2010-05-28T08:30:48Z
Indexed on
2010/05/28
8:51 UTC
Read the original article
Hit count: 149
asp.net-mvc
|css
<table class="data-table">
<tr>
<th style="width: 200px;">
Description
</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>
Why this td size is not to apply on View page? In Design view on VS 2008 td size is applied, but after run project in my browser not have specified size
© Stack Overflow or respective owner