Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Dante le Poole on Feb 08, 2008 13:02
open dhtmlx forum
combobox displayed on new line

I just downloaded the dhtmlx suite and it looks great. however, when I create a combox it always appears on the next line instead of on the line on which i declared it (ie as if a BR-tag was placed immediately before it). This happens in both Firefox 2 and IE7, whether I create it from an existing SELECT or by pure javascript.

I would like the combobox to appear appear after its label, on the same line without a newline in between. Any ideas?

Thanks,
Dante
Answer posted by Support on Feb 11, 2008 02:45
This is caused by used DOM model, you can switch it to inline mode by adding next css class

      .dhx_combo_box{
          display:inline;
          }

but it will work correctly only in IE, FF doesn't respect sizes for inline elements, so the combo will look pretty strange.