Hi team
I have an image its on the center, now i want to figure it out as well on my text input for both user and password, including buttons as well. Here is my code below for this logic;
div data-="mainContent">

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

User
@Html.TextBoxFor(model => model.username, new { @class = "form-control", autocomplete = "off" })
@Html.ValidationMessageFor(model => model.username)
Password
@Html.PasswordFor(model => model.password, new { @class = "form-control", autocomplete = "off" })
@Html.ValidationMessageFor(model => model.password)
}
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsForums
Top experts
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Laxmidhar SahooRank #383 · 6.6K reputationPosted Jan 22, 2020, 6:00 AM EST
Ashutosh GuptaRank #805 · 2.9K reputationPosted Jan 22, 2020, 6:08 AM EST