Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by chrisz on Apr 15, 2009 14:06
open dhtmlx forum
Display inline combo boxes

Greetings,

I would like to display multiple dhtmlCombo's next to each other horizontally (inline). However... I would like to do it without using a table. Eg:

<div id="outerContainer">
<span id="comboContainer1"></span>
<span id="comboContainer2"></span>
</div>
//add dhtmlXCombo to comboContainer1
//add dhtmlXCombo to comboContainer2

Can I alter the style for only these 2 combo's (without affecting others on the page? Some other method?

Thanks very much
Answer posted by Alex (support) on Apr 16, 2009 02:06

Hello,

Combo is a block element. So, it is better to use table. In case of div elements you can use float property.

If you want to change the style for a certain combo, you can use the following css feature: #comboContainerId className{...}