Percentaged width of ComboBox


is there a possibility to initialize a ComboBox with a percentaged value like 25% instead of using a precise predefined pixel value.
If there is a way, can you give me an example how to use the ComboBox in this way.

Thanks in advance,


you may try to set the width in percent:

var combo = new dhtmlXCombo(containerId,name,“50%”);

Hello Alexandra,

thanks for your reply.

your example works as expected,

we had a conflict with a other css statement.

Kind regards,