Hi All
I have a form with a floating label:
<div class="form-floating mb-2">
<input type="text" class="form-control text-center" name="memberUsername" id="memberUsername" placeholder="Username" required>
<label class="text-center" for="memberUsername">Username</label>
<div class="invalid-feedback">Your Username is required</div>
</div>
I want the label to be centered… which it is however when you click the field the label becomes small but instead of staying centered it moves up and to the left rather then up and centered.
I am sure this is simple but can’t work out how to fix this.
Any ideas?
mrmbarnes