Forums

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

Home Forums CSS Navigation Bar Re: Navigation Bar

#143529
Alex
Participant

You could add a width to the li, something like 15%, or you could do a bit of math and set exact pixels. Or you could leave it how it is and style the parent div wrapping it all. Keep in mind that your #navigation is collapsed because you floated your ul, you can use a clearfix for this.

[CSS-Tricks.com Clearfix](https://css-tricks.com/snippets/css/clear-fix/ “CSS Clearfix”)