Link to home
Start Free TrialLog in
Avatar of Mayank_Agarwal
Mayank_Agarwal

asked on

Styling a Menu

Good Day all

Is there any way to style an asp:menu control using CSS?
Some sort of way that i can incorporate the style in the CSS for hover, child menu item, selected etc.
As of now I have just the CSS associated to the DIV that holds the Menu control but not the menu control itself.
Thanks in advance.

CSS code-------
 
.menuStrip
{
    width:100%;
    height:40px;
    color:Fuchsia;
    font-size:1.2em;
    font-family:Courier New;
    margin-left:30px;
}
.menuStrip:hover 
{
    font-size:2em;
    color:Black;
}
---------ecc.master code------------
 ......
        <div class="menuStrip">
        <asp:Menu ID="menu" runat="server" Orientation="Horizontal">
        </asp:Menu>
........

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Pratima
Pratima
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mayank_Agarwal
Mayank_Agarwal

ASKER

Thanks