I am encountering a problem with a search form that contains code not authored by me.
The issue lies in the input selector being obscured by its label.
It is evidently a CSS-related matter, yet I have been unable to pinpoint the exact styling causing this problem.
The below HTML and CSS segments recreate the issue.
Shown here is a screenshot depicting the problem on the actual website:
https://i.sstatic.net/iEQYV.png
Below is a snippet of the specific HTML element's code and the corresponding CSS.
#LABEL_1 {
// CSS styles for LABEL_1...
}
#INPUT_2 {
// CSS styles for INPUT_2...
}
<label for="round_trip" id="LABEL_1">
<input type="radio" checked="checked" name="trip_type" id="INPUT_2" value="true" /> Round trip
</label>
PLEASE NOTE: The code was generated utilizing a Chrome extension named SnappySnippet, which I came across from a Stackoverflow query. It enables me to select an HTML element and capture all relevant CSS and HTML connected to it. This often brings in excessive CSS properties, leading to potential confusion. Apologies for any inconvenience caused.
Could someone offer guidance on which part of the included CSS is triggering this issue?