0

Center navbar?

OK, so go to my site and take a look at the navbar: https://vespr.xyz/ I can't like put extra size onto the ends because then it doesn't work, by the way, here's the code: .header { background-color: #3498db; min-height: 60px; width: 100%; } If you can answer this than thanks, I'm a beginner to CSS.

20th Mar 2018, 12:00 AM
epic gamer
epic gamer - avatar
2 Answers
+ 1
Did you try using margin? And if it doesn’t work, trying learning about something called CSS3 flex box, it’s a little more advanced but it’s so powerful
20th Mar 2018, 4:19 AM
Ariela
Ariela - avatar
0
Margin only went left and I’ll try that.
20th Mar 2018, 12:45 PM
epic gamer
epic gamer - avatar