Marek Marek - 1 year ago 77
CSS Question

How can I change size of textBox in MVC?

Change of size doesn't work :(

@Html.TextBox("Imie", new { @class = "boxx" })


height : 400px;
width : 500px;

the class = "boxx" is wrote in textBox

Answer Source

Have a look at the docs (or intellisense) and you will see the available overloads. Try

@Html.TextBox("Imie", null, new { @class = "boxx" })  
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download