2 Replies Latest reply on Aug 27, 2007 9:44 AM by SymTsb

    CSS in flash question

    brian914 Level 1
      I am using css in Flash to style the content of a html text box. I have it all working, except, if I use "fontWeight: "bold" " or "fontStyle: "italic" " the text that was styled disappears. Why is this happening and what can I do about it?

      My styling looks like this:
      var cssStyles:TextField.StyleSheet = new TextField.StyleSheet();
      cssStyles.setStyle(".h1", {fontSize: "14", fontWeight: "bold", color: "#OOOOOO"});
      cssStyles.setStyle("a", {fontStyle: "italic"});

      A second issue I am having is that I have a paragraph, inside with I use the <br> for a return. Somehow everywhere I do this, the returned next line get indented a little bit. How can I avoid this from happening?

      Thanks a lot!