[Pomoc] Search

Započeo LoOdaK, April 01, 2017, 22:40:50 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Kako mogu da centriram svoj search u navbaru?

<form class="navbar-form navbar-left">
            <div class="form-group">
                <input type="text" class="form-control" placeholder="Prcanje">
            </div>
            <button type="submit" class="btn btn-default">Prc</button>
                </form>
CitatElectric Power is everywhere present in unlimited quantities and can drive the world's machinery without the need of coal, oil, gas, or any other of the common fuels!



Hoces da bude u centru navigacije ?


CitatElectric Power is everywhere present in unlimited quantities and can drive the world's machinery without the need of coal, oil, gas, or any other of the common fuels!



Davno sam ti pokazivao za ono pa iskoristi :)

Citat: Kasperzi ãƒ,, poslato Mart 23, 2017, 03:44:30 PRE PODNE
Ja mislim da ti ovo treba :)


<nav class="navbar navbar-default" role="navigation">
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-center">
<li><a href="#">Text</a></li>
<li><a href="#">Text</a></li>
<li><a href="#">Text</a></li>
</ul>
</div>
</nav>


CSS:

@media (min-width: 768px) {
.navbar-nav.navbar-center {
   position: absolute;
   left: 50%;
   transform: translatex(-50%);
  }
}



Citat: Kasperzi ãƒ,, poslato April 01, 2017, 23:45:42 POSLE PODNE
Davno sam ti pokazivao za ono pa iskoristi :)

Citat: Kasperzi ãƒ,, poslato Mart 23, 2017, 03:44:30 PRE PODNE
Ja mislim da ti ovo treba :)


<nav class="navbar navbar-default" role="navigation">
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-center">
<li><a href="#">Text</a></li>
<li><a href="#">Text</a></li>
<li><a href="#">Text</a></li>
</ul>
</div>
</nav>


CSS:

@media (min-width: 768px) {
.navbar-nav.navbar-center {
   position: absolute;
   left: 50%;
   transform: translatex(-50%);
  }
}

Pa ne mogu se ja medjed sjetit,ni pogledat malo, ugl. hvala
CitatElectric Power is everywhere present in unlimited quantities and can drive the world's machinery without the need of coal, oil, gas, or any other of the common fuels!



Citat: LoOdaK poslato April 01, 2017, 23:49:44 POSLE PODNE
Citat: Kasperzi ãƒ,, poslato April 01, 2017, 23:45:42 POSLE PODNE
Davno sam ti pokazivao za ono pa iskoristi :)

Citat: Kasperzi ãƒ,, poslato Mart 23, 2017, 03:44:30 PRE PODNE
Ja mislim da ti ovo treba :)


<nav class="navbar navbar-default" role="navigation">
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-center">
<li><a href="#">Text</a></li>
<li><a href="#">Text</a></li>
<li><a href="#">Text</a></li>
</ul>
</div>
</nav>


CSS:

@media (min-width: 768px) {
.navbar-nav.navbar-center {
   position: absolute;
   left: 50%;
   transform: translatex(-50%);
  }
}

Pa ne mogu se ja medjed sjetit,ni pogledat malo, ugl. hvala
Ma ništa brate, lock.