I have been working on creating a tabbed navigation component using HTML, and my code looks like this:
<ul class="nav">
<li class="selected">Selected Tab</li>
<li><a href="#">Not-selected Tab</a></li>
<li><a href="#">Not-selected Tab</a></li>
</ul>
You can view a simplified version of what I've created here.
My inquiry is: why is the ul element not expanding to accommodate all the li elements? It appears unaffected by any borders or padding applied to the li elements.