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
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
Post a Comment