Since bootstrap css uses the media-queries, what are your viewport 
dimensions? Are you using the default web2py configuration? Which is web2py 
version?

Il giorno venerdì 7 dicembre 2012 21:39:05 UTC+1, Luca ha scritto:
>
> I have the problem that the menus are collapsed even when there is ample 
> space on the navbar for the items. 
> Removing nav-collapse and replacing with nav solves this, but the menu 
> button still appears before it is actually needed. 
> Does anyone know how to fine tune the behavior of menu collapse? 
> Luca
>
> On Thursday, August 16, 2012 3:05:09 PM UTC-7, mweissen wrote:
>>
>> I have a program with a menu and I tried Firefox and Google Chrome:
>> Chrom shows the menu, Firefox not.
>>
>> Line 76 in layout.html is:
>>     <div class="nav-collapse" >
>>
>> I could not find a definition for the class "nav-collapse".
>>
>> Next step: I removed this class definition
>>
>>
>>     <div >  <!-- was: class="nav-collapse" -->
>>       {{is_mobile=request.user_agent().is_mobile}}
>>       {{if response.menu:}}
>>       {{=MENU(response.menu, _class='mobile-menu nav' if is_mobile else 
>> 'nav',mobile=is_mobile,li_class='dropdown',ul_class='dropdown-menu')}}
>>       {{pass}}
>>     </div><!--/.nav-collapse -->
>>
>> and the menu is visible again in both browsers.
>> What is the reason?
>>
>> Regards, Martin
>>
>>
>> -- 
>> Mit freundlichen Grüßen / With kind regards 
>> Martin Weissenböck
>> Gregor-Mendel-Str. 37, 1190 Wien
>> Austria / European Union
>> Tel  +43 1 31400 00
>> Fax  +43 1 31400 70
>>
>

-- 



Reply via email to