1 Reply Latest reply on Aug 16, 2010 10:07 PM by Subeesh Arakkan

    How is it possible to have multiple styles for a single control

    kiran7881 Level 1

      Hi ,


      I have a CSS associated with my MXML File . Now how can i assign all these things to my TextInput ,for example by doing below , i can only assign font Size , how can i assign all these styles at a time to my TextInput


      <mx:Label name="UserName" width="80" x="89" y="80" text="UserName" styleName="p">
      This is my external css file


      .h1 {
          font-size: 24;
      .p {
          font-size: 50;
      .a {
          text-decoration: underline;
      .a:hover {
          color: #FF0000;


      Thanks in advnace .