0
Hello.
I have a login form, only I need to align a logo to the center of this form, so that this alignment is responsive.
I know it has some forms, but what is the best way to make this alignment?
Currently this is my code, already with the image in the place and such.
<link rel="stylesheet" href="theme.css" type="text/css">
<div class="py-5" >
<div class="container">
<div class="row">
<div class="p-5 col-lg-6">
<img src="~/Content/img/br_negativa.png" style="height:100px" alt="SPARTAN" />
<div class="col-md-10">
@Html.TextBoxFor(m => m.Email, new { @class = "form-control" })
</div>
</div>
<div class="form-group">
@Html.LabelFor(m => m.Password, new { @class = "col-md-2 control-label" })
</div>
</div>
</div>
</div>
</div>
for community help you, first you have to help the community, provide more information on the question, example, edit the question and add the content that is within Theme.css, it is impossible to help you without knowing how this the formatting of the classes that already exists in the form.
– Vitor Hugo
@Vitorhugo actually used the tags [twitter-bootstrap] and [bootstrap-4] that’s enough to know what it’s about... Until pq he is not using any tag other than the original Bootstrap and put the HTML code he is using... In my view the question is within the criteria to be answered. What renders on
@Html.
it is not necessary to know to be able to answer...– hugocsl