这是我的代码 怎么能够让时间和内容布置在textarea的左上方啊?跪求html+css大神 10
<scriptsrc="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")"type="text/j...
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script></head><body onload="init()"> <div class="contentlayout3" style ="text-align:center"> @using (Html.BeginForm()) { <div style="text-align:left; width:98%"> <h3>时间</h3> </div> <div width:98%"> @Html.TextBoxFor(m => m.RecordTime, new { @style = "width:600px;Height:40px" }) @Html.ValidationMessageFor(m => m.RecordTime) </div> <div style="text-align:left; width:98%"> <h3>内容</h3> </div> <div width:98%"> @Html.TextAreaFor(m => m.RecordInfo, new { @style = "width:600px;Height:400px" }) @Html.ValidationMessageFor(m => m.RecordInfo) </div> <p> <input type="submit" value="保存" name="save"/> <input type="button" value="取消" onclick="window.close();" /> </p> } </div></body></html>
展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询