Categories | Question details Back To List | ||
Combo div break a line Hi, I'm trying to put same image after my combo to clean the combo's value. But when I do it, looks like the combo break a line after it. My code: ... <DIV id="IdUnidadeNegocioDIV" style="width:300px; height:30px;"></DIV><img src="http://<%=IP_Sistema%>/<%=str_diretorio%>/icones/excluir.gif"> ... <script> var comboUnidadeNegocio = new dhtmlXCombo("IdUnidadeNegocioDIV","IdUnidadeNegocio",350); </script> ... What should I do to the browser don't break a line after my combo. Regards Marcus Answer posted by Support on Mar 06, 2008 06:44 The DIV is a block container, so it always will break line after them, you can a) use style.float to make DIV of combobox or image after it placed on correct line b) use TABLE layout and place DIV of combo and image in cells of table. |