2 Replies Latest reply on Mar 4, 2009 10:08 PM by Madhav Subedi

    CSS -- styling a default text style

    Phrankie Level 1
      I'm looking for a global CSS declaration that will affect all text elements.

      Here's the HTML analogy. When an HTML page references a CSS stylesheet with this declaration

      body {
      font-size: 13px;
      }

      ... all paragraphs, lists, tables, etc. inherit the value of the font-size attribute from the body definition.

      Can I accomplish a similar affect in Flex via CSS?

      I know I could do this:

      Text {
      font-size: 12px;
      }

      ... but I want affect ALL text objects by default, without having to make a long selector list, where I'm likely to overlook something. Like how 'body' works in HTML.

      Phrankie