I am facing an issue with the following HTML code.
<!DOCTYPE html>
<html>
<body>
<select>
<option value="volvo">Volvoooooooooooooooootooooooolargeeeeeeeeeeee</option>
<option value="saab">Saab</option>
<option value="opel">Opel</option>
<option value="audi">Audi</option>
<option value="volvo">Volvo</option>
[additional select options]
<select>
</body>
</html>
My concern is that when the content exceeds the page height, a vertical scrollbar appears. However, if the option value is too large, the width of the select box automatically expands to fit the content. I would like the select box not to expand and instead have a horizontal scrollbar appear if the option value is too long. How can I achieve this?
Any suggestions or solutions would be greatly appreciated.