<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><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";mso-fareast-font-family:Calibri;
mso-fareast-theme-font:minor-latin;color:#444444;border:none windowtext 1.0pt;
mso-border-alt:none windowtext 0cm;padding:0cm;mso-ansi-language:EN-NZ;
mso-fareast-language:EN-US;mso-bidi-language:AR-SA"><?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";mso-fareast-font-family:Calibri;
mso-fareast-theme-font:minor-latin;color:#444444;border:none windowtext 1.0pt;
mso-border-alt:none windowtext 0cm;padding:0cm;mso-ansi-language:EN-NZ;
mso-fareast-language:EN-US;mso-bidi-language:AR-SA"><br></span></b></div><div><b><span style="font-size:10.5pt;line-height:115%;
font-family:"Helvetica","sans-serif";mso-fareast-font-family:Calibri;
mso-fareast-theme-font:minor-latin;color:#444444;border:none windowtext 1.0pt;
mso-border-alt:none windowtext 0cm;padding:0cm;mso-ansi-language:EN-NZ;
mso-fareast-language:EN-US;mso-bidi-language:AR-SA">now what happens is when i define a menu i get this output from wordpress</span></b></div><div><table><tbody><tr><td class="webkit-line-number"></td><td class="webkit-line-content"><span class="webkit-html-tag"><div <span class="webkit-html-attribute-name">class</span>="<span class="webkit-html-attribute-value">menu-single-level-container</span>"><br></span><span class="webkit-html-tag"><ul <span class="webkit-html-attribute-name">id</span>="<span class="webkit-html-attribute-value">menu-single-level</span>" <span class="webkit-html-attribute-name">class</span>="<span class="webkit-html-attribute-value">nav</span>"><br></span><span class="webkit-html-tag"><li <span class="webkit-html-attribute-name">id</span>="<span class="webkit-html-attribute-value">menu-item-1739</span>" <span class="webkit-html-attribute-name">class</span>="<span class="webkit-html-attribute-value">menu-item menu-item-type-post_type menu-item-object-page menu-item-1739</span>"></span><span class="webkit-html-tag"><a <span class="webkit-html-attribute-name">href</span>="<a class="webkit-html-attribute-value webkit-html-external-link" target="_blank" href="http://windowsservertutorials.x10.mx/test/wordpress/?page_id=2">http://windowsservertutorials.x10.mx/test/wordpress/?page_id=2</a>"></span>Sample Page<span class="webkit-html-tag"></a></span><span class="webkit-html-tag"></li></span></td></tr><tr><td class="webkit-line-number"></td><td class="webkit-line-content"><br></td></tr><tr><td class="webkit-line-number"></td><td class="webkit-line-content"><span class="webkit-html-tag"></ul></span><span class="webkit-html-tag"></div></span> <span class="webkit-html-tag"><div <span class="webkit-html-attribute-name">class</span>="<span class="webkit-html-attribute-value">side-bg</span>"></span><span class="webkit-html-tag"></div><br><br>When i don't define a menu i get this<br><br></span></td></tr><tr><td class="webkit-line-number"></td><td class="webkit-line-content"><table><tbody><tr><td class="webkit-line-content"><span class="webkit-html-tag"><div <span class="webkit-html-attribute-name">class</span>="<span class="webkit-html-attribute-value">nav</span>"><br></span><span class="webkit-html-tag"><ul><br></span><span class="webkit-html-tag"><li ></span><span class="webkit-html-tag"><a <span class="webkit-html-attribute-name">href</span>="<a class="webkit-html-attribute-value webkit-html-external-link" target="_blank" href="http://windowsservertutorials.x10.mx/test/wordpress/">http://windowsservertutorials.x10.mx/test/wordpress/</a>" <span class="webkit-html-attribute-name">title</span>="<span class="webkit-html-attribute-value">Home</span>"></span>Home<span class="webkit-html-tag"></a></span><span class="webkit-html-tag"></li></span><span class="webkit-html-tag"><li <span class="webkit-html-attribute-name">class</span>="<span class="webkit-html-attribute-value">page_item page-item-703 current_page_item</span>"></span><span class="webkit-html-tag"><a <span class="webkit-html-attribute-name">href</span>="<a class="webkit-html-attribute-value webkit-html-external-link" target="_blank" href="http://windowsservertutorials.x10.mx/test/wordpress/?page_id=703">http://windowsservertutorials.x10.mx/test/wordpress/?page_id=703</a>"></span>Blog<span class="webkit-html-tag"></a></span><span class="webkit-html-tag"></li></span><span class="webkit-html-tag"><li <span class="webkit-html-attribute-name">class</span>="<span class="webkit-html-attribute-value">page_item page-item-2</span>"></span><span class="webkit-html-tag"><a <span class="webkit-html-attribute-name">href</span>="<a class="webkit-html-attribute-value webkit-html-external-link" target="_blank" href="http://windowsservertutorials.x10.mx/test/wordpress/?page_id=2">http://windowsservertutorials.x10.mx/test/wordpress/?page_id=2</a>"></span>Sample Page<span class="webkit-html-tag"></a></span><span class="webkit-html-tag"></li></span><span class="webkit-html-tag"></ul></span><span class="webkit-html-tag"></div><span class="webkit-html-tag"><div <span class="webkit-html-attribute-name">class</span>="<span class="webkit-html-attribute-value">side-bg</span>"></span><span class="webkit-html-tag"></div><br><br></span></span></td></tr><tr><td class="webkit-line-number">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 class="webkit-line-content"><br></td></tr></tbody></table></td></tr></tbody></table></div> </div></body>
</html>