nobody?

Le lundi 11 juin 2012 11:09:16 UTC+2, Martin GOYOT a écrit :
>
>
> Now I can see that I provided too few details:
>
> this is my document:
>
>
> <div class="navbar">
>>         <div class="navbar-inner">
>>             <div class="container-center">        
>>
>  
>
>>                 <div class="btn-group">
>>                     <button class="btn btn-success btn-mini 
>> disabled">Waiting room</button>
>>                     <button class="btn btn-success btn-large">Sort them 
>> all</button>    
>>
>>                 </div>
>>                 
>>                 <ul class="nav pull-right">
>>                     <li><button class="btn btn-warning btn-large 
>> disabled">20 seconds remaining</button></li>
>>                 </ul>
>>             </div>
>>         </div>
>>     </div>
>>
>
> I made the container-center like this:
>
>
> .container-center{
>>   width: auto;
>>   text-align: center;
>> }
>>
>
> problem is: with no btn-group: works well
> with btn-group: everything goes left which is really frustrating…
>
> any idea? 
>
> Le lundi 11 juin 2012 10:27:50 UTC+2, Deepak Verma a écrit :
>>
>> Use offset property to center it. You can create custom offset as well. 
>> Regards
>> Deepak Verma
>> (Blackswan Solutions)
>> Sent via BlackBerry® from Vodafone
>> ------------------------------
>> *From: * Martin GOYOT <[email protected]> 
>> *Sender: * [email protected] 
>> *Date: *Fri, 8 Jun 2012 09:19:27 -0700 (PDT)
>> *To: *<[email protected]>
>> *ReplyTo: * [email protected] 
>> *Subject: *How to center stuff in the navbar
>>
>> Hello everybody!
>>
>> I started using bootstrap a couple of days ago and it is really nice 
>> stuff. The only point that ennoys me a lot is the fact that it doesn't 
>> seems to be possible to center stuff in the navbar. Do you have any idea of 
>> how to obtain such behaviour or what to change in the css bootstrap in 
>> order to get it working?
>>
>> Thanks a lot
>>
>

Reply via email to