我想用文本框环绕文本,在文本框顶部
<!-- ==================== Travel Details Field -->
<tr class="Field CommentRow">
<td class="LabelForm">Travel Details</td>
<td class="Value">
<%= Html.TextArea("TravelDetails", H(genericModel.Comment), 12, 60, new { @class = "BodyWatermark", style = "width:360px" })%>
<span class="More")>We are traveling to Naples on the 15th or May, followed by London starting on May 23rd</span>
</td>
</tr>
答案 0 :(得分:0)
像这样吗?
<!-- ==================== Travel Details Field -->
<tr class="Field CommentRow">
<td class="LabelForm">Travel Details</td>
<form>
<input type="text" name="boxy" style="width: 300px;height: 200px;"><br>
</form>
<td class="Value">
<Html.TextArea("TravelDetails", H(genericModel.Comment), 12, 60, new { @class = "BodyWatermark", style = "width:360px" })%>
<span class="More")>We are traveling to Naples on the 15th or May, followed by London starting on May 23rd</span>
</td>
</tr>