Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS (twitter) metro-bootstrap – Help aligning ‘Nav’ to Center. Re: (twitter) metro-bootstrap – Help aligning ‘Nav’ to Center.

#139650
Paulie_D
Member

The nav uses floats….if you can switch the `li` to inline-block it’s very easy to set them to `text-align: center` by adding that to `.nav` (remove the float).

http://joshnh.com/2012/02/07/why-you-should-use-inline-block-when-positioning-elements/