nav {
border: whatever size you wantpx border style color;
margin: auto;
width: whatever size you want, between 0-99%;
}


  • Remove margin: auto; if you want the nav bar to be positioned to the right.
  • Border styles are the same ones as here on Rentry: dotted, dashed, solid, double, groove, ridge, inset & outset.
Edit
Pub: 06 Apr 2025 13:39 UTC
Edit: 06 Apr 2025 13:43 UTC
Views: 64