I am facing an issue while designing my navigation menu with 4 circular items spaced about 20 px apart on the top right of the screen. I have managed to style each nav item as a circle, but when I try to position them in the upper right corner, only the 4th item is visible while the first 3 disappear. Can someone please assist me?
HTML:
<div id="nav">
<ul>
<li> <a href="#" class="navbutton">The Story </a></li>
<li> <a href="#" class="navbutton">Design </a></li>
<li> <a href="#" class="navbutton">Specs </a></li>
<li> <a href="#" class="navbutton">Gallery </a></li>
</ul>
</div>
CSS:
.navbutton {
list-style-type: none;
text-transform: uppercase;
text-decoration: none;
display: block;
width: 100px;
height: 100px;
border-radius: 50px;
font-size: 14px;
color: #ffffff;
line-height: 108px;
text-align: center;
background: #4FA5B1;
position: absolute;
top: 50px;
right: 100px;}
ul {
width: 50x;
padding: 0;
margin: 0;
overflow: auto;
list-style-type: none;
}
li {
width: 20%;
margin: 15%;
}