I need to know how to create a navigation bar with Unsemantic framework (or 960gs).
My menu structure is
<div>
.
<ul>
<li></li>
</ul>
</div>
I have tried so much, but still can’t find out the problem.
EDIT
I use wordpress.So it creates navigation menu. the eventual code rendered in the browser is as follows:
<nav role="navigation" class="clearfix black grid-100 grid-parent mobile-grid-100 mar-top10 mar-bottom10" id="wp_nav_menu_wrapper">
<div class="grid-container">
<div class="menu">
<ul>
<li class="page_item page-item-2">
<a href="http://localhost/wpmarket/?page_id=2">ÙSample Page</a>
</li>
<li class="page_item page-item-5"><a href="http://localhost/wpmarket/?page_id=5">ÙSample Page 2</a>
</li>
</ul>
</div>
</div>
</nav>
While my WordPress markup is as follows:
<div class='grid-100 height-auto black-gray-bg font-tahoma'>
<nav role='navigation' class='clearfix black grid-100 grid-parent mobile-grid-100 mar-top10 mar-bottom10' id='wp_nav_menu_wrapper'>
<div class='grid-container'>
<?php
wp_nav_menu();
?>
</div>
</nav>
</div>
The grid-container class is for the outer container and the grid-parent class for inner or nested containers. In your code you have this backwards.
The grid-parent class lets you align self-contained grids with normal grid items. The container holds all of the grid items. So the grid-parent is just an indicator that the or whatever will contain further items related to its scale and ordering on the page.
You can use this structure, or similar: