TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Guest User
Tech Writer
2.1k
469.4k
Making your input text fit right size on a form?
Mar 16 2020 2:24 AM
Hi Team
I have this logic on my view, the size is too big and want way to make my text input fit well for Title field a form.Please assist me to make this very well on my form.
<div
class
=
"register-box"
>
<div
class
=
"register-logo"
>
</div>
</div>
<div
class
=
"card"
>
<div
class
=
"card-body register-card-body"
>
<center>
<img src=
"~/Images/eNtsa.png"
/>
</center>
<center>
<p><b>Training Course Registration:Motion MasterClass</b></p>
</center>
@
using
(Html.BeginForm(
"editRegForm"
,
"Home"
, FormMethod.Post,
new
{ @role =
"form"
}))
{
@Html.AntiForgeryToken()
<div
class
=
"input-group-mb-2"
>
@Html.TextBoxFor(m=>m.Title,
new
{@
class
=
"form-control"
, type =
"text"
, id =
"title"
, autofocus =
"autofocus"
, placeholder =
"Title"
, required =
"required"
})
<div
class
=
"input-group-text"
>
</div>
</div>
}
</div>
</div>
Reply
Answers (
1
)
Dates calclation
asp.net session