y h Posted June 7, 2014 Share Posted June 7, 2014 Hi, I wanted to know if there is a way to make the pick-list size corresponding to the size of the biggest word or phrase in the list. PS: I mean not only when I select the biggest word but even when none of the choices in the list is selected. Any advice is highly appreciated. Thanks in advance:) Link to comment Share on other sites More sharing options...
davej Posted June 7, 2014 Share Posted June 7, 2014 Doesn't it do that by default? Link to comment Share on other sites More sharing options...
y h Posted June 9, 2014 Author Share Posted June 9, 2014 In my case no Link to comment Share on other sites More sharing options...
davej Posted June 9, 2014 Share Posted June 9, 2014 Which browser version are you using? I don't see this on FF28, IE11, or Chrome35. Link to comment Share on other sites More sharing options...
y h Posted June 10, 2014 Author Share Posted June 10, 2014 Firefox 29.0.1 Link to comment Share on other sites More sharing options...
davej Posted June 10, 2014 Share Posted June 10, 2014 Try this file... <!DOCTYPE html><html><head><meta charset="utf-8"/><title>select</title><style>body{ background-color: green; color: maroon; margin-left: 15px;}</style></head><body><form><select name="make" > <option value="volvo">Volvo</option> <option value="saab">Saab</option> <option value="mercedes">Mercedes</option> <option value="audi">Audi</option> <option value="stud">Studibaker Autoworks 123</option></select></form></body></html> Link to comment Share on other sites More sharing options...
y h Posted June 11, 2014 Author Share Posted June 11, 2014 .cusel .cusel-scroll-pane { /*width: 100% !important; */ } I commented this line and it works now Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now