Starting from version 6.x-1.4 and newer (6.x-1.5; 6.x-1.6; 6.x-1.x-dev) the Language dropdown switcher block when placed on a horizontal menu region - jumps to a new line out of control (I want the block to stay side by side with other horizontal menu items).

Even when I replaced in the code all <div> with <span>, and all display:block; with display:inline; - I still see double <div><div... tags in the page source:

<form action="/"  accept-charset="UTF-8" method="post" id="lang-dropdown-form"> 
<div><div class="form-item" id="edit-lang-dropdown-select-wrapper"> 
 <select name="lang_dropdown_select" style="width:100px" class="form-select" id="edit-lang-dropdown-select" ><option value="http://tautasvara.lv/" selected="selected">Latviešu</option><option value="http://tautasvara.lv/ru">Русский</option><option value="http://tautasvara.lv/en">English</option></select> 
</div> 
<noscript><span>
<input type="submit" name="op" id="edit-submit" value="Go"  class="form-submit" />
</span></noscript><input type="hidden" name="form_build_id" id="form-826c10f5e41c42c7f3f45ae176fc4520" value="form-826c10f5e41c42c7f3f45ae176fc4520"  /> 
<input type="hidden" name="form_id" id="edit-lang-dropdown-form" value="lang_dropdown_form"  /> 
 </div></form>

P.S. The same thing happens with the javascript widget. Tested on IE8, Firefox 4, Opera 11, Chrome 13. Previous versions (until 6.x-1.3) didn't have this bug.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

reinis.berzins’s picture

I re-post the problem description as I couldn't edit the the original erroneous post.

Starting from version 6.x-1.4 and newer (6.x-1.5; 6.x-1.6; 6.x-1.x-dev) the Language dropdown switcher block when placed on a horizontal menu region - jumps to a new line out of control (I want the block to stay side by side with other horizontal menu items).

Even when I replaced in the code all <div> with <span>, and all occurrences of display:block; with display:inline; - I still see double <div><div... tags in the page source:

<form action="/"  accept-charset="UTF-8" method="post" id="lang-dropdown-form"> 
<div><div class="form-item" id="edit-lang-dropdown-select-wrapper"> 
 <select name="lang_dropdown_select" style="width:100px" class="form-select" id="edit-lang-dropdown-select" ><option value="http://tautasvara.lv/" selected="selected">Latviešu</option><option value="http://tautasvara.lv/ru">Русский</option><option value="http://tautasvara.lv/en">English</option></select> 
</div> 
<noscript><span>
<input type="submit" name="op" id="edit-submit" value="Go"  class="form-submit" />
</span></noscript><input type="hidden" name="form_build_id" id="form-826c10f5e41c42c7f3f45ae176fc4520" value="form-826c10f5e41c42c7f3f45ae176fc4520"  /> 
<input type="hidden" name="form_id" id="edit-lang-dropdown-form" value="lang_dropdown_form"  /> 
 </div></form>

P.S. The same thing happens with the javascript widget. Tested on IE8, Firefox 4, Chrome 13, Opera 11. Until version 6.x-1.3 it didn't have this bug.

JGO’s picture

Same problem here, anyone managed to fix ? :s

papirrin’s picture

Same problem.

Leahcim’s picture

Same

Leahcim’s picture

Issue summary: View changes

Added code HTML tags (as shown in formatting instructions below), otherwise code doesn't display.

kala4ek’s picture

Status: Active » Closed (outdated)