0 Replies Latest reply on Jan 24, 2011 2:30 PM by SiHoop

    Using CSS with Alert

    SiHoop Level 1

      I'm using CSS to stylet an Alert panel and it's producing the following Warning:

      CSS type selectors are not supported in components: 'Alert' 


      Despite the warning, the css is working, but I don't want to keep seeing the warning.


      Here's my css:

          backgroundColor: #000000;
          borderColor: #000000;
          buttonStyleName: buttonStyle6;
          dropShadowEnabled: true;
          fontSize: 11;

      I've also tried using alert.styleName("myAlert")

      where the css is placed into


      but that produces the following error:

      TypeError: Error #1006: value is not a function.


      Is there a better way to style the Alert?