I'm creating a form and in that form I have multiple <select> tags but
when I press Ctr + A
I get gaps and whitespaces in the selection like this:
This happens in every browser except Firefox
I tried completely removing the whitespace and newlines from the code but it still didn't work
any idea how to fix this?
Source Code:
* {
margin: 0;
}
form {
background-color: black;
color: white;
padding: 2rem 2rem 1rem 2rem;
}
fieldset {
border: 0;
}
form label {
margin: 2rem 1rem 1rem 0;
display: inline-block;
}
<form>
<fieldset>
<label><span style="color:red">* </span>Must fill</label><select>
<option>option 1</option>
</select><br>
<hr>
<label> generic Q :</label><br>
<select>
<option>option 1</option>
</select><br>
<label> another generic Q :</label><br>
<select>
<option>option 1</option>
</select><br>
<label>Fill Info</label><br>
<textarea></textarea><br>
<label>Fill other info<br>(additional)</label><br>
<textarea></textarea><br>
<button>Send</button>
</fieldset>
</form>
