Problem using asp:Menu with a:link Class

Last post 11-19-2007 5:14 AM by realapak. 2 replies.

Sort Posts:

  • Problem using asp:Menu with a:link Class

    11-19-2007, 12:55 AM
    • Member
      32 point Member
    • David Y.
    • Member since 06-21-2007, 7:53 AM
    • Posts 34

    When I put  this Elements

    a:link {color:#c55502}
    a:visited{color:#c55502} 
    a:hover{color:#fe0000}  
    a:active{color:#fe0000}   

    they override the color I set to the menu control

    How can I disable it?

     

  • Re: Problem using asp:Menu with a:link Class

    11-19-2007, 4:50 AM
    Answer
    • Member
      299 point Member
    • realapak
    • Member since 11-08-2006, 9:43 AM
    • Portugal
    • Posts 94

     you are putting this to all the links... all the links of your page will follow this... it's better you to put one class of link in your css...

    That's because menu control renders as html links and so will have the css properties you putted for links... 

    the amazing real A pak
  • Re: Problem using asp:Menu with a:link Class

    11-19-2007, 5:14 AM
    • Member
      299 point Member
    • realapak
    • Member since 11-08-2006, 9:43 AM
    • Portugal
    • Posts 94

     can you put my post as answer...

    the amazing real A pak
Page 1 of 1 (3 items)