2 Replies Latest reply on Jul 25, 2008 4:23 PM by ntsiii

    Anyone got CSS sub-styles to work in Flex Builder 3

    RaulFandango
      Hi, I've a background in HTML and CSS and Ajax, and tried bringing across a standard CSS styling file to Flex builder 3.

      Builder 3 complains about sub-styling.

      So .............

      With a CSS entry of:-

      .datatable td
      {
      padding: 5px;
      text-align: center;
      font-family: Helvetica;
      font-size: 10pt;
      color: #FB7820;
      }
      .datatable .selected
      {
      background-color: #E2E2E2;
      }
      .datatable .unselected
      {
      background-color: #FFFFFF;
      }

      Flex will fail to process the substyles, namely .datatable .unselected.

      Either I'm missing something in "how to" land, or Flex doesn't support substyles.

      Any help would be greatly appreciated on the correct (for flex) syntax for doing CSS sub-styling.