Hello again,

there are similar threads, but I haven't found a solution yet:
In my Flex application I have created several Components that contains
TextFields.
In the root of the application I include a CSS Stylesheet (<mx:Style
source="main.css" />). Now I want the TextFields inside the Components
to inherit the styles.
When I use UITextFields instead of TextFields, that seems to work but
links and tags with classes are not styled.
For example:
/* main.css */
Application {
        font-family: Arial;
        font-size: 12px;
        color: #000000;
}
a {
        font-weight: bold;
}
a:hover {
        text-decoration: none;
}
.red {
        color: #FF0000;
}

Now UITextFields will inherit the Application-Style, but Links and
e.g. spans with class="red" are not styled.

I hope that was clear, my head is a bit dazed from finding work-arounds ;)

thanks,
Bastian






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to