I am currently facing an issue with my navigation bar. I have placed the <nav>
tags within a container set to 100% width. However, when I adjust the height of the container by a certain percentage, the <ul>
& <li>
elements in the nav get cut off instead of scaling down. How can I resolve this issue?
Below is a snippet of my CSS code:
#container
{
position: absolute;
top: 30px;
left: 50px;
width: 100%;
height: 50%;
background-color: #000000;
}
Here is a link to my source code for reference: