سؤال

How is possible I put two navbars side-by-side using Twitter's bootstrap.

navbars

I want the sorting navbar on right side of filtering navbar.

هل كانت مفيدة؟

المحلول

You would need to declare their width and then give them a value of float: left

DEMO http://jsfiddle.net/KY2Pr/27/

.navbar {
    width: 200px;
    float: left;
}

Fluid width mobile friendly

DEMO http://jsfiddle.net/KY2Pr/28/

.navbar {
    width: 50%;
    float: left;
}
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top