79192010

Date: 2024-11-15 10:40:36
Score: 1.5
Natty:
Report link

In your code, you were using the ml-auto class on the element, which applies margin-left: auto. To center the content horizontally, I changed it to mx-auto, which applies margin horizontally on both sides (margin-left: auto; margin-right: auto).

Your original code classes: navbar-nav ml-auto nav-fill

Updated Code classes: navbar-nav mx-auto nav-fill"

The image of centered navbar menu

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Abdul Ahad