<p>I have a fairly simple ASP.NET 2.0 menu control using a sitemap file and security trimmings.  There are only 21 menu options, but the results HTML of the menu is a whopping 14k.  The site is hosted on our company's intranet and must be serverd to people worldwide on limited bandwidth, so I'd like to reduce the size of the menus.</p>

<p>What is the best way to do this?  Does anybody have a good reference?  I have the following constraints:</p>

<ul>
<li>The solution must not reference any 3rd part DLL files (getting approval would be a nightmare)</li>
<li>Has to work with IE 6</li>
</ul>

<p>CSS and JavaScript are fine, as long as they work with IE 6.</p>

[{'answer_id': 5029, 'author': 'KP.', 'author_id': 439, 'author_profile': 'https://Stackoverflow.com/users/439', 'pm_score': 3, 'selected': True, 'text': '<p>Take a look at:\n<a href="http://www.asp.net/CSSAdapters/Menu.aspx" rel="nofollow noreferrer">http://www.asp.net/CSSAdapters/Menu.aspx</a></p>\n\n<p>The default Menu control is rendering far too much HTML.</p>\n'}, {'answer_id': 671314, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 1, 'selected': False, 'text': '<p>You might have a look at my <a href="http://jagbarcelo.blogspot.com/2009/03/aspnet-menu-control-optimization.html" rel="nofollow noreferrer">ASP.NET menu optimization post</a>. What I do is extracting the common part of the menu rendered in every page to an external file that is loaded and cached only once at the user browser. This way the pages are 60-70% smaller in some cases.</p>\n'}]
['https://Stackoverflow.com/questions/5027', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/681/']