Answers for "how do i center a navbar?"

CSS
3

center nav bar css

div#nav{
  text-align: center;
}
div#nav ul{
  display: inline-block;
}
Posted by: Guest on March-18-2021

Code answers related to "how do i center a navbar?"

Browse Popular Code Answers by Language