Hi,

Im having trouble while trying to show full text of the different options included in a select when its width is limited.

The idea is to show the full text of the option (there are quite a lot of options that just differ in their last 2 letters, and they are not visible) while the mouse is over it (when selecting one of the N possible contained in the <select>). All I can obtain is the full text once an option is selected.

All ideas will be welcomed. Thank you.

Recommended Answers

All 4 Replies

try setting the style of your list as "width: auto;"

:?:

The idea is not having an auto adjustable combo, because the structure surrounding it would change it's appearence, and this is not an option. Thank you eventhough :)

Can you make the text wrap? Stick a br tag in it?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.