jquery - Styling navbar of bootstrap -


i've got problem styling bootstrap navbar. in navbar have :

enter image description here

but want in 1 line, :

essai actuel : kjvfged

my code navbar :

<nav class="nav navbar-default">         <div class="container-fluid">             <div class="navbar-header ">                       <a href="#" class="navbar-brand ">amg</a>               </div>              <div>                 <ul class="nav navbar-nav navbar-right ">                     <li><p class="navbar-text"><div class="essaiactuel"></div></p></li>                     <li><a><div class="session"></div></a></li>                 </ul>             </div>         </div>     </nav> 

and give content way :

$('.essaiactuel').text('essai actuel : '); 

can tell me how can increase width of element in navbar please ?

<span class="essaiactuel"></span> should

span keep inline.

<li><p class="navbar-text"><span class="essaiactuel"></span></p></li> 

Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -