Forums

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

Home Forums CSS Items on left and right in nav Reply To: Items on left and right in nav

#236502
bearhead
Participant

This is how I would do it:

http://codepen.io/kvana/pen/rxmOXM

I gave the ul a max width and centered it within the nav. Then I created a .left and .right class and gave those float:left and float:right declarations, respectively. I applied those classes to the appropriate li.

Additionally, I created a class: .group to clear the floats.