Magento – Display all the sub-categories in multiple
    tag

categorycategory-treemagento-1.9navigation

I have one main Category (View All Inventory) under which I have around 76 sub-categories. Right now it prints out all the 76 sub-categories in a single <ul> tag.

<?php $_menu = $this->getHtml('level-top') ?>
<?php if($_menu): ?>
<div class="nav-container">
    <ul id="nav">
        <?php echo $_menu ?>
    </ul>
</div>
<?php endif ?>

I would like to somehow divide all those subcategories equally and display them in multiple <ul> tag so the drop down menu spreads horizontally across the page instead of displaying them in a single <ul> tag vertical. How can I achieve it?