Author: newCRMSupport | Posted on: 7/20/2010 12:23:29 PM | Views : 322

.menu_main_bkgr { color:White; text-align:center; text-decoration:none; border-style:solid; border-width:0px; border-color:Gray; background-image:url(../images/menu-bottom.jpeg); width:110px; height:20px; } .menu_main_bkgr img { width:80px; height:20px; }

That's my CSS above. Unfortunately, the Menu text still shows the hyperlink-blue color instead of White. However, if I put ForeColor="White", then it works. I'd rather not do that. I'd like to be able to set it with CSS. HTML below.



<asp:Menu ID="Menu1" CssClass="menu_main_bkgr" DynamicHorizontalOffset="10" Orientation="Horizontal" runat="server"> <DynamicMenuStyle CssClass="adjustedZIndex" /> <DynamicMenuItemStyle CssClass="menu_dropdown_bkgr" / ...

Go to the complete details ...