I I am am migrating a Flex 3 project, and my css selectors do not work. I looked on the site for help, and found this:

Type selectors require a namespace

A CSS type selector names the Flex class to style. For example, the following are type selectors for Button and DateField:

Button { cornerRadius: 10;}DateField { color: #780800;}As of the Flex 4 beta, when an application uses type selectors, a namespace is required. If you are using only the MXML 2006 namespace in your Flex Application, add the following default namespace declaration to your CSS:

However, this is very poorly written. Where does the declaration listed in the second part actually go? I have tried wrapping my css file with it, wrapping the individual declarations, etc. to no avail. Why give the example of button and datefield and then not show how to apply th namespace to those selectors? Why just the mysterious "..." and then not to show where it goes?

Feel free to log a bug/enhancement request in the bug base http://bugs.adobe.com/flex/ against the Flex Documentation project and say that the docs could use a bit more clarification (just be sure to cite the URL you were looking at).

The @namespace declaration should always go at the top of your .css file (or <Style> block in an MXML file) before any style declarations. To complete that example and fill in the "..." - since it uses the default namespace without a prefix, the type selectors would remain unchanged.