Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

asp.net menu skiplink

Tags:

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> 
like image 920
Bogdan Verbenets Avatar asked Mar 25 '11 22:03

Bogdan Verbenets


1 Answers

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

like image 148
Episodex Avatar answered Oct 03 '22 17:10

Episodex