Creating two sign-up forms using HTML and CSS Bootstrap. Want them to be parallel, tried using the position
tag but there is unwanted space created between the forms.
View the output
How can I prevent this circle of space from being generated?
<main class="my-form">
<div class="container">
<div class="row justify-content-flex-start">
<div class="col-md-6">
<div class="card">
<div class="card-header">Apliko</div>
<div class="card-body">
<form name="my-form" onsubmit="return validform()" action="success.php" method="">
<div class="form-group row">
<label for="full_name" class="col-md-3 col-form-label text-md-right">Emri juaj:</label>
<div class="col-md-6">
<input type="text" id="emri" class="form-control" name="emri">
</div>
</div>
<div class="form-group row">
<label for="email_address" class="col-md-3 col-form-label text-md-right">Adresa Email:</label>
<div class="col-md-6">
<input type="text" id="email_address" class="form-control" name="email-address">
</div>
</div>
<div class="form-group row">
<label for="user_name" class="col-md-3 col-form-label text-md-right">Subjekti:</label>
<div class="col-md-6">
<input type="text" id="subjekti" class="form-control" name="subjekti">
</div>
</div>
<div class="form-group row">
<label for="phone_number" class="col-md-3 col-form-label text-md-right">Mesazhi:</label>
<div class="col-md-6">
<input type="text" id="mesazhi" class="form-control">
</div>
</div>
<div class="form-group row">
<label for="phone_number" class="col-md-3 col-form-label text-md-right">CV-ja juaj:</label>
<div class="col-md-6">
<input type="file">
</div>
</div>
<div class="col-md-6 offset-md-3">
<button type="button" class="btn btn-primary" onClick="myFunction(), location.href = 'index.html'">
Register
</button>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
This was the first form. Started the second form like this.
<main style="position:sticky; left:680px; top:2px; width:900px;">
<div class="container">
<div class="row justify-content-flex-end">
<div class="col-md-8">
<div class="card">
<div class="card-header">Rregjistrohu si perdorues</div>
<div class="card-body">
<form name="my-form" onsubmit="return validform()" action="success.php" method="">
<div class="form-group row">
<label for="full_name" class="col-md-4 col-form-label text-md-right">Emer Mbiemer:</label>
<div class="col-md-6">
<input type="text" id="full_name" class="form-control" name="full-name">
</div>
</div>