Hello,
I have been told from a previous thread to remove the 0.5rem margin from my CSS as there was a space between each of the links of the navigation bar, but this is for the whole webpage and therefore the whole layout changes, which isn’t what I would have preferred. All of the content is now tight together as it is now “margin: 0 0rem”. However, I was wondering if there was a way to keep this 0.5rem margin for the whole HTML whilst removing it from the navigation bar only (so it’ll be 0rem). Is this possible?
Many thanks!
See the Pen Nav bar troubles by Anon Student (@cssrookie) on CodePen.
https://static.codepen.io/assets/embed/ei.js