Im trying to put this nav bar in the center and above the background image (you might not be able to see the bg image in jsfiddle) but its there. If i give it a position absolute it all scrams together.
If anyone has any help that would be awesome. Im just not sure where to put it in the html to make sure its at the top as well.
Heres the fiddle: https://jsfiddle.net/98k1nv9e/
ul{
list-style-type: none;
border: 2px solid red;
overflow: hidden;
width: 530px;
margin: 0px auto;
}
li{
width: 120px;
height: 40px;
margin: 0px 4px;
border: 2px solid white;
float: left;
}
a{
display: block;
width: 120px;
height: 40px;
line-height: 40px;
text-decoration: none;
text-align: center;
}