I am having the same problem. Adding the CSS attribute 'display: block' expanded the clickable area, but it also messed up the text. I'm trying to create a menu where each node has a background image (a button). When I add 'display: block', the text moves to the top of the button, while I want it in the middle.
Any suggestions?
CSS:
*.menuItem
{
background-image: url(images/nav_buttons_blank.gif);
background-repeat: no-repeat;
height: 40px;
width: 165px;
text-align: center;
color: White;
font-family: Verdana, Arial;
font-size: 14px;
font-weight: bold;
background-color: Transparent;
display: block;
vertical-align: middle;
}
.NET (VB):
<asp:Menu ID="Menu1" runat="server" >
<StaticMenuItemStyle CssClass="menuItem" />
<Items>
<asp:MenuItem Text="Beverages" Value="Beverages"></asp:MenuItem>
<asp:MenuItem Text="Sandwiches" Value="Sandwiches"></asp:MenuItem>
<asp:MenuItem Text="Desserts" Value="Desserts"></asp:MenuItem>
</Items>
</asp:Menu>
Thanks!