+ 1

Why isn't my navbar aligned in the center and why has it some margin on the right? And how can I fix it?

https://code.sololearn.com/W2Opdixt9T20/?ref=app

31st Aug 2018, 7:06 PM
coder_extends_human
coder_extends_human - avatar
6 odpowiedzi
+ 1
Just add width: 100%; to your nav in your css : nav{ /* * your code */ width: 100%; } pleasure :)
31st Aug 2018, 7:26 PM
Sam Pache
Sam Pache - avatar
+ 1
play with the grid col-12 and col-3 foreach items. Ask google about that
31st Aug 2018, 7:50 PM
Sam Pache
Sam Pache - avatar
+ 1
It's the best solution and you should get use to it :)
31st Aug 2018, 7:56 PM
Sam Pache
Sam Pache - avatar
+ 1
:)
31st Aug 2018, 7:56 PM
coder_extends_human
coder_extends_human - avatar
0
This solves my issue with the bg color but how can I center my navba4 irems they still arent alligned in the center.
31st Aug 2018, 7:48 PM
coder_extends_human
coder_extends_human - avatar
0
I know I could solve my issue with a grid but I want to do it without one
31st Aug 2018, 7:52 PM
coder_extends_human
coder_extends_human - avatar