In my HTML file, I have a top navbar along with some content. The issue I am facing is that the menu items appear in the center of the screen, similar to this simple representation:
%%%%item 1%%item 2%%item 3%%item 4%%item 5%%%%
where % represents space. Even when I place the content within the HTML file, it does not align properly with either the left or right side of the navbar. This results in text protruding out of the borders visually. The problem arises because the menu items are contained within cells and the text inside these cells is centered, creating extra space on both sides. As a result, the text in the HTML file seems misaligned when placed within a container. Is there a way to expand the text within the items to fill the full length of the cell or adjust the size of the cells to fit the text precisely in order to resolve this issue?
Please refer to the image linked below for a better visualization of the problem.