CSS and Menu WebControl

Discussion in 'ASP .Net' started by bfking, Aug 2, 2007.

  1. bfking

    bfking Guest

    in my ASP.NET sites i use themes w/ a CSS file. in the CSS file i set
    A:link, A:visited, A:hover and A. if i want a link to be different i
    can set the style att of the link to override. however when using a
    Menu control i can't do this. i try setting the ForeColor of a Menu
    Item to a different color but it creates a local CSS class and assigns
    that class to the A tag. apparently the A style is applied after the
    local classes are applied.

    is there anyway to tell the Menu control (and only the menu control.
    i want the rest of the page to use the CSS file so i can't just remove
    the theme) to not use the CSS file or anyway to remove the formatting
    from those links so the control can format the rendered html?

    thanks in advance for any help you can provide

    bk
    bfking, Aug 2, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Guest
    Replies:
    2
    Views:
    723
  2. Luis Ramírez.

    Can a webcontrol (webcontrol.dll) have a configuration file?

    Luis Ramírez., Jul 5, 2004, in forum: ASP .Net Building Controls
    Replies:
    2
    Views:
    181
    Luis Ramírez
    Jul 6, 2004
  3. Kasabaarde Sumta

    WebControl inside of WebControl and attaching events

    Kasabaarde Sumta, Dec 13, 2004, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    174
    Kasabaarde Sumta
    Dec 13, 2004
  4. Fabricio

    Custom webcontrol that references another webcontrol

    Fabricio, Sep 21, 2005, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    166
    Fabricio
    Sep 21, 2005
  5. Peter Morris [Air Software Ltd]

    WebControl with non-WebControl property

    Peter Morris [Air Software Ltd], Dec 7, 2004, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    126
    Peter Morris [Air Software Ltd]
    Dec 7, 2004
Loading...

Share This Page