TextAreaFor Cannot Set Width

前端 未结 5 1462
伪装坚强ぢ
伪装坚强ぢ 2021-02-07 06:24

I cannot set the width or cols in atextarea. Rows/Height works just fine. can someone please help thanks!

@using (Html.BeginForm())
{
    @Html.AntiForgeryToken(         


        
5条回答
  •  梦毁少年i
    2021-02-07 06:45

    Your code works fine for me. Check out the fiddle demo

    The problem would be with style=width:something

    Better check the CSS and try to fix with the help of firebug/chrome console

提交回复
热议问题