1 Reply Latest reply on Feb 10, 2011 2:42 AM by Pablo Souza

    how to set width in percentages

    Raghuvasa Level 1

      Hi All,

       

               I am using components like HBox and VBox. And I am setting the width and height for both components in mxml file only.

       

      Now i want to move those width and height to external css file. But the Problem is i am unable to set width in percentage .

       

      How can i set width in percentage like 100% in CSS file

       

       

      This is what i ahve done in mxml file.

      <mx:HBox id="hboxId" width="100%" height="100%" y="75" x="15" horizontalScrollPolicy="off" />

       

       

       

      Can any one help me regarding this.

       

       

      Thanks

      Raghu