I believe that a CSS selector such as #padre that starts with a # is supposed to apply only to a tag with id="padre". Unfortunately, Flex doesn't support this usage and therefore rejects the # syntax. The closest thing would be to write a selector such as .padre that starts with a dot and then put styleName="padre" on the tag(s) that you want it to apply to. Gordon Smith Adobe Flex SDK Team
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of premieritalia Sent: Thursday, November 22, 2007 12:12 AM To: [email protected] Subject: [flexcoders] Flex & CSS I've created this css file ___________________________________________ /* CSS file */ #padre { background-color: red; width: 300px; } #figlio { background-color: green; width: 100%; } ____________________________________________ for my flex application, but the flex builder gives a syntax error. Can you give me an example of css file for flex application please? Thanks

