I need assistance with properly displaying a list of links in a navigation structure. Here is the current HTML code I am using:
<nav>
<ul>
<li><a href="#"><span class="code">1</span><span class="name">One</span></a></li>
<li><a href="#"><span class="code">2</span><span class="name">Two</span></a></li>
<li><a href="#"><span class="code">3</span><span class="name">Three</span></a></li>
</ul>
</nav>
Each link item should be presented as a square shape and aligned vertically. The content within each square should have a large font number (1) followed by its name (one) directly below it.
However, I am facing an issue where the name text is appearing too far down, almost going into the next anchor tag.
You can view my current setup here: http://jsfiddle.net/pmb6pqea/
If anyone has a solution to fix this problem, please let me know!