Isn't it fascinating how you can adjust the width of a text box like this?
@Html.TextBoxFor(m => m.LoginId, new { @class = "k-textbox", style="width:400px" })
However, I am seeking a more elegant solution.
I attempted to implement this in a fresh css file
.k-textbox .small {
width: 50px !important;
}
.k-textbox .medium {
width: 120px !important;
}
.k-textbox .large {
width: 320px !important;
}
And within my cshtml file
@Html.TextBoxFor(m => m.LoginId, new { @class = "k-textbox medium" })
Despite this effort, the textbox's size remains unchanged
What could be the oversight here?