ListSelect , how to wrap text?

I have a long text element in ListSelect.
I want to make it warpped by making overflow text
start a new line , how can i do that?

can i make it with only java or do i need to make a css?



ListSelect is a HTML with elements. As I’ve understood it’s not possible to have word wrapping for option elements neither in Java nor in CSS.