Navigation bar


Hi, I’d like to make a navigation bar on site that does not stand in the left position, but in the middle, but I do not know how do that, if someone can help. Thank you


You could just add to your .topnav class

display: table;
margin: auto;

this will get it to sit in the center. I would do a fair few other things to improve it's structure but that in the simplest way will do what I think you want



Thanks a lot Noppy, I'll try that way.


The problem is solved thanks to the Noppy! here is how the navigation bar looks like now. navigation bar it’s no longer on the left side than it is in the middle.


This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.