asp.net menu skiplink

Bogdan Verbenets picture Bogdan Verbenets · Mar 25, 2011 · Viewed 9.7k times · Source

The ASP.NET menu creates a skiplink which has 0x19 size and it is invisible in explorer, but it is rendered in chrome! So my menu has an extra 19 pixels indent! How do I overcome this? Here is it's HTML:

<a href="#HeaderMenu1_Menu1_SkipLink">
<img alt="Skip Navigation Links" src="/WebResource.axd?d=ChOum_wTGSzbwK97BQPV0ITybaR8NYj0fCEsJDNZ46Dhv_eO5a-qipjyNL4I6aiynUitzcOuIwIjwyFX_snxVbyAZO7glY1Vhbd4zETG4j41&amp;t=634280594527374621" width="0" height="0" style="border-width:0px;">
</a>

Answer

Episodex picture Episodex · Aug 3, 2011

Add SkipLinkText="" to <asp:Menu> tag and this code won't be rendered.