0 Replies Latest reply on Dec 7, 2007 5:54 PM by gavinnosler

    Negative marginLeft style for <li> tag

    gavinnosler Level 1
      I want to decrease the left margin of list items in a dynamic text box. I'm using a stylesheet like so:

      import TextField.StyleSheet;
      var globalStyleSheet:StyleSheet = new StyleSheet();
      globalStyleSheet.setStyle("li",{marginLeft:"-50px"});

      I guess a StyleSheet ignores any marginLeft value under zero. Does anyone know a way to decrease the left margin on list items?