I'm attempting to design a dropdown menu using CSS with 21 sub-items. I want to display them in 3 columns of 7, but I can't seem to figure it out.
I've set up a simple example on jsFiddle, how can I adjust the CSS so that sub items 6-10 appear to the right of sub items 1-5 instead of below?
The layout should resemble the image I created in MS Paint.
EDIT :
<nav>
<ul>
<li>
<a href="#">Top Level Group</a>
<div>
<ul>
<li><a href="#">Sub One</a></li>
<li><a href="#">Sub Two</a></li>
<li><a href="#">Sub Three</a></li>
<li><a href="#">Sub Four</a></li>
<li><a href="#">Sub Five</a></li>
</ul>
<ul>
<li><a href="#">Sub Six</a></li>
<li><a href="#">Sub Seven</a></li>
<li><a href="#">Sub Eight</a></li>
<li><a href="#">Sub Nine</a></li>
<li><a href="#">Sub Ten</a></li>
</ul>
</div>
</li>
</ul>
</nav>