Question : How to set background color of asp menu control's popup parts

I’m in Microsoft Expression Web and I’m using an ASP menu control on my web page. The area adjacent to the menu has a white background. Although I can adjust the background color of the menu’s first level (by setting the BackColor property), the next level (the popup level) has a white background which does not contrast well against the other white background. Setting the BackColor property of the menu control does not affect the background color of the popup parts of the menu and I can’t figure out how to change the background color of the expanding part of the menu. Even a thin 1pixel border around the popup part wouldn’t be bad. Anything to distinguish the popup menu from the page’s normal whitish background would be okay.

Answer : How to set background color of asp menu control's popup parts

Hi, I do not use Expression Web, I use Visual Studio, I would use the DynamicMenuItemStyle, here is the markup:

<asp:Menu BackColor="Gainsboro" ID="Menu1" runat="server">

<DynamicMenuItemStyle BackColor="#FFCCFF" BorderColor="#009999" BorderStyle="Dotted" BorderWidth="1px" />

<Items>
...
....
..
</Items>
</asp:Menu>
Random Solutions  
 
programming4us programming4us