0
Why is nav not selected?
This is a code I created. I am trying to make the nav bar a set height, but nothing I do to the CSS changes the nav height or color. I am specifically trying to set a background color for the nav and set a min height for the nav bar. Please note I have made things similiar to this before, so that is why I am so confused. https://code.sololearn.com/WMP74Q9oeCPc/?ref=app
1 Answer
+ 1
Tim Palmer
Use "px" instead of "%"
nav {
height:50px;
width:100%;
}