My friend and I are facing a CSS issue while working on a webpage together. We both have limited experience with HTML and CSS.
Here's the code snippet in question:
.nav li {
margin: auto;
display: inline-block;
color: white;
padding: 10px;
font: Times;
text-align:center;
float: inherit;
}
.nav a {
text-decoration: none;
color: white;
display: inline-block;
padding: inherit;
}
Upon viewing the attached picture, it is evident that the button does not completely fill the navigation bar.
Click here to view the image (apologies for poor quality).
Could someone provide guidance on how to rectify this issue?