0 Replies Latest reply on Jul 13, 2009 3:03 PM by tygr

    styleSheet textAlign

    tygr

      I'm trying to use a class in a style sheet to center some text in a TextField using htmlText.  I have the autoSize set to TextFieldAutoSize.LEFT and I just want a particular span of text to be centered.  It's surrounded by <br /> tags and I've also tried wrapping it in <p></p> tags but nothing works...the text remains on the left.  Other parts of the style sheet work fine.  I'm dynamically creating the styleSheet object, BTW.  Do I have to use an external css file or is there something else amiss here?  I have Flash CS4.  Thanks.