Loading ...
Sorry, an error occurred while loading the content.

How to skin a menu button and it's selectors (hover,active,etc)

Expand Messages
  • mug_crema
    Hi experts, i just start usign the YUI library, especially with the YUI Button (menu button) which i m using as a replacement of some HTML SELECT elements.
    Message 1 of 2 , Aug 1, 2008
    • 0 Attachment
      Hi experts, i just start usign the YUI library, especially with the
      YUI Button (menu button) which i'm using as a replacement of some HTML
      SELECT elements. After some errors finally i make it to work fine.

      Also, i skin it the way i want by overriding the default styles but
      the problem i have is that i don't know how to override the css rules
      for the hover, active, focus and disabled selectors.

      Thanks in advance.

      Gustavo
    • Todd Kloots
      Hi Gustavo - Have you looked at the Button landing page? It contains the necessary references for styling a Button instance:
      Message 2 of 2 , Aug 4, 2008
      • 0 Attachment
        Hi Gustavo -

        Have you looked at the Button landing page? It contains the necessary
        references for styling a Button instance:

        http://developer.yahoo.com/yui/button/#stylingstate

        http://developer.yahoo.com/yui/button/#cssref

        - Todd

        mug_crema wrote:
        >
        > Hi experts, i just start usign the YUI library, especially with the
        > YUI Button (menu button) which i'm using as a replacement of some HTML
        > SELECT elements. After some errors finally i make it to work fine.
        >
        > Also, i skin it the way i want by overriding the default styles but
        > the problem i have is that i don't know how to override the css rules
        > for the hover, active, focus and disabled selectors.
        >
        > Thanks in advance.
        >
        > Gustavo
        >
        >
      Your message has been successfully submitted and would be delivered to recipients shortly.