c# - Showing text in below of image in asp.net menu control -


i have tried show menu name below of menu icon,. don't know how that.

my aspx code

  <asp:menu runat="server" itemwrap="true" orientation="horizontal">             <items>                 <asp:menuitem imageurl="~/images/admin.png" selectable="true" text="system" />                  <asp:menuitem imageurl="~/images/user.png" selectable="true" text="user" />                 <asp:menuitem imageurl="~/images/cut.png" selectable="true" text="cut" />                 <asp:menuitem imageurl="~/images/edit-copy.png" selectable="true" text="copy" />                                          </items>         </asp:menu> 

output

enter image description here

please try putting <br> tag while setting text menu item . menu be

<asp:menu runat="server" itemwrap="true" orientation="horizontal">     <items>         <asp:menuitem imageurl="~/images/admin.png" selectable="true" text="<br> system" />         <asp:menuitem imageurl="~/images/user.png" selectable="true" text="<br> user" />         <asp:menuitem imageurl="~/images/cut.png" selectable="true" text="<br> cut" />         <asp:menuitem imageurl="~/images/edit-copy.png" selectable="true" text="<br> copy" />     </items> </asp:menu> 

Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -