header ul {
display: inline; }
header ul .nav-header li {
list-style: none;
margin-right: 1em;
float: left; }
header ul a {
text-decoration: none; }
*{ border: 0; margin: 0; padding: 0; }
I am currently working with this CSS code but running into an issue. It seems that using the reset wildcard is causing the display property of inline to not work as expected. Does anyone know how to fix this?
The problem arises when removing the wild card - the "Welcome" header ends up on the line below the navbar instead of next to it. By using display: inline;, the intention was to have them on the same line, but it's not functioning as intended.