I need to make the options of the selectmenu fixed width. Can anyone help me out in this, it should be compatible with all browsers ie8, ie9, safari, opera, FF, Chorme.
I have tried something here:
You might want to let other people weight in as well, but I believe you don’t have much control over the option styling across browsers that will work perfectly.
An idea that will work but involves a little more work is something like this done with jQuery and CSS Reinventing a Drop Down with CSS and jQuery
Link which u gave was good but i was looking to apply ellipsis and apply fix width to “option” tag in default browser theme.
In Reinventing a Drop Down with CSS and jQuery In this if you add a longer string to the tag the width will increase.
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".