How can I stop ASP.NET Menu controls from generating inline html style elements
<p>I have a master page that contains an ASP.NET server side Menu control (System.Web.UI.WebControls.Menu)</p>

<p>I <em>am</em> using the CSSFriendly adapters from here</p>

<p><a href="http://www.asp.net/CSSAdapters/Menu.aspx" rel="nofollow">http://www.asp.net/CSSAdapters/Menu.aspx</a></p>

<p>and they do make the rendered HTML much cleaner however I am still getting inline styles output into the HEAD element in the HTML like this</p>

<pre><code>&lt;style type="text/css"&gt;
    .ctl00_SiteHeader1_TabBar1_Menu1_0 { background-color:white;visibility:hidden;display:none;position:absolute;left:0px;top:0px; }
    .ctl00_SiteHeader1_TabBar1_Menu1_1 { text-decoration:none; }
    .ctl00_SiteHeader1_TabBar1_Menu1_2 {  }
    .ctl00_LeftColumnContent_LeftHandNavigator1_Menu1_0 { text-decoration:none; }

&lt;/style&gt;
&lt;/head&gt;

&lt;body&gt;
</code></pre>

<p>I thik these styles are being generated by ASP.NET, I don't think I need them as I am using the CSSAdapters so is there any way of stopping them from being generated?</p>

<p>Derek</p>
