It only shifts by some pixels, it will not center the text I tried to make it center using cascading style sheet The is inside a div class named container. I set the container h1 set alignment center in cascading style sheet. But the problem is also persisting I expect the text to be at the center of the navigation bar navigation bar Continue reading...