html - How to make an UL in same line -


i want display 2 <ul> bunch of <li> in in same line this:

ul(h2) ..... ul(h2)
li .................. li
.................... li
.................... li

right looks this:

ul (h2)
li
ul(h2)
li
li
li

here code:

<div class="container">          <div class="row">         <div class="col-xs-6 col-md-3 col-centered">             <ul id="ulnodeco">                   <li>                      <h2> free </h2>                 </li>                    <li>                      test                 </li>              </ul>         </div>           <div class="col-xs-6 col-md-3 col-centered">             <ul id="ulnodeco">                   <li>                      <h2> testing </h2>                 </li>                    <li >                      test                 </li>                            <li id="test">                      test                 </li>                    <li id="test">                      test                 </li>                    </ul>         </div>       </div> </div> 

here simplest way:

ul {   float: left; } 

look @ jsfiddle


Comments

Popular posts from this blog

sql server - Cannot query correctly (MSSQL - PHP - JSON) -

php - trouble displaying mysqli database results in correct order -

C++ Linked List -