I've been trying to find a solution to my issue, but I'm having trouble locating one. It could be because English is not my first language and maybe I'm not searching using the right terms.
The problem I'm facing is with implementing the <select> feature in HTML. One of the options is very long, and if I don't set a width for the element, it completely messes up the layout of my website. If I do set a width, it cuts off the option text. However, I've seen examples where the long option text is shown with "..." at the end, which is what I want to achieve as well.
To clarify, I need help making my <select> element display like "Long option ..." or if there's a better way to handle this issue.