<div dir="ltr">you should style like this:<br><br><div>div.nav ul, ul.nav{margin:0;} </div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Oct 4, 2013 at 2:16 PM, Phillip Wells <span dir="ltr"><<a href="mailto:phillipwells@hotmail.co.nz" target="_blank">phillipwells@hotmail.co.nz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr">I am currently developing a theme and i have this line <b><span style="font-size:10.5pt;line-height:115%;font-family:"Helvetica","sans-serif";color:#444444;border:none windowtext 1.0pt;padding:0cm"><?php wp_nav_menu(
array( 'theme_location' => 'primary', 'menu_class' => 'nav' ) ); ?></span></b><div><b><span style="font-size:10.5pt;line-height:115%;font-family:"Helvetica","sans-serif";color:#444444;border:none windowtext 1.0pt;padding:0cm"><br>
</span></b></div><div><b><span style="font-size:10.5pt;line-height:115%;font-family:"Helvetica","sans-serif";color:#444444;border:none windowtext 1.0pt;padding:0cm">now what happens is when i define a menu i get this output from wordpress</span></b></div>
<div><table><tbody><tr><td></td><td><span><div <span>class</span>="<span>menu-single-level-container</span>"><br></span><span><ul <span>id</span>="<span>menu-single-level</span>" <span>class</span>="<span>nav</span>"><br>
</span><span><li <span>id</span>="<span>menu-item-1739</span>" <span>class</span>="<span>menu-item menu-item-type-post_type menu-item-object-page menu-item-1739</span>"></span><span><a <span>href</span>="<a href="http://windowsservertutorials.x10.mx/test/wordpress/?page_id=2" target="_blank">http://windowsservertutorials.x10.mx/test/wordpress/?page_id=2</a>"></span>Sample Page<span></a></span><span></li></span></td>
</tr><tr><td></td><td><br></td></tr><tr><td></td><td><span></ul></span><span></div></span> <span><div <span>class</span>="<span>side-bg</span>"></span><span></div><br><br>When i don't define a menu i get this<br>
<br></span></td></tr><tr><td></td><td><table><tbody><tr><td><span><div <span>class</span>="<span>nav</span>"><br></span><span><ul><br></span><span><li ></span><span><a <span>href</span>="<a href="http://windowsservertutorials.x10.mx/test/wordpress/" target="_blank">http://windowsservertutorials.x10.mx/test/wordpress/</a>" <span>title</span>="<span>Home</span>"></span>Home<span></a></span><span></li></span><span><li <span>class</span>="<span>page_item page-item-703 current_page_item</span>"></span><span><a <span>href</span>="<a href="http://windowsservertutorials.x10.mx/test/wordpress/?page_id=703" target="_blank">http://windowsservertutorials.x10.mx/test/wordpress/?page_id=703</a>"></span>Blog<span></a></span><span></li></span><span><li <span>class</span>="<span>page_item page-item-2</span>"></span><span><a <span>href</span>="<a href="http://windowsservertutorials.x10.mx/test/wordpress/?page_id=2" target="_blank">http://windowsservertutorials.x10.mx/test/wordpress/?page_id=2</a>"></span>Sample Page<span></a></span><span></li></span><span></ul></span><span></div><span><div <span>class</span>="<span>side-bg</span>"></span><span></div><br>
<br></span></span></td></tr><tr><td>As you can see i have lost the styling and i get a vertical list in wordpress when i don't define a menu. What would the fix be as you can see i need a class always on the ul called nav and not on the div. </td>
<td><br></td></tr></tbody></table></td></tr></tbody></table></div> </div></div>
<br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><span style="color:rgb(153,153,153)">Towfiq I.</span><br>
</div>