HTML Select DropDown Width
-
Hi everyone, I've a problem with dropdown lists. The standart select/option's dropdown list is resized to the select's width, like whether the option is longer than select's width [Select v] [option 1] [option 2] ... I want the select's option list is resized longer widths, like [select v] [option 1 xxxxxxxx] [option 2 yyyyyyyy] ... How can i do this? Thanks.
-
Hi everyone, I've a problem with dropdown lists. The standart select/option's dropdown list is resized to the select's width, like whether the option is longer than select's width [Select v] [option 1] [option 2] ... I want the select's option list is resized longer widths, like [select v] [option 1 xxxxxxxx] [option 2 yyyyyyyy] ... How can i do this? Thanks.
Good browsers will automatically resize the drop-down to fit the options displayed in it. For the unfortunate users of lesser browsers, you might try a hack like this: http://www.hedgerwow.com/360/dhtml/ui_select_with_fixed_width/demo.php[^] Or just abandon drop-down
select
elements, and go with a list (setsize
to > 1).Citizen 20.1.01
'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
-
Hi everyone, I've a problem with dropdown lists. The standart select/option's dropdown list is resized to the select's width, like whether the option is longer than select's width [Select v] [option 1] [option 2] ... I want the select's option list is resized longer widths, like [select v] [option 1 xxxxxxxx] [option 2 yyyyyyyy] ... How can i do this? Thanks.
U have to set its width attribute using CSS... in the dreamweaver u can write code like this...I have set it to 200 pixkels, u may set it to any suitable value....Plz follow the code... optionvalue T :laugh: hanks
"Programming is a fun"
-
U have to set its width attribute using CSS... in the dreamweaver u can write code like this...I have set it to 200 pixkels, u may set it to any suitable value....Plz follow the code... optionvalue T :laugh: hanks
"Programming is a fun"
-
Good browsers will automatically resize the drop-down to fit the options displayed in it. For the unfortunate users of lesser browsers, you might try a hack like this: http://www.hedgerwow.com/360/dhtml/ui_select_with_fixed_width/demo.php[^] Or just abandon drop-down
select
elements, and go with a list (setsize
to > 1).Citizen 20.1.01
'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
Thank you for the script (;