Hi Venkat,

Once you include the css file in your application, you can access its class by 
using,

styleName="classname" 


Thanks 
Ameet

-----Original Message-----
From: Venkat Perpati <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Date: Fri, 19 Oct 2007 04:05:27 +0100 (BST)
Subject: Re: [flexcoders] Use a CSS file in Flex

> 
> 
> Hi,
>    
>   got it. <mx:Style source="http://www.somesite.com/mystyles.css";>  is used 
> to include css file in the application . But how to use the style defined in 
> it , is it same as we use in html file 
>    
>   like     <tr class="style1" >
>    
>   can you pls give me an example of how we use the styles after including the 
> CSS file in the application.
>    
>   regards,
>   Venkat Perpati
>   
> Peter Connolly <[EMAIL PROTECTED]> wrote:
>           Here's how you reference a CSS file:
> 
> <mx:Style source="http://www.somesite.com/mystyles.css";>
> 
> After that, there's a chapter on CSS in the Flex Developer's Guide.
> 
> On 10/18/07, Venkat Perpati <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> >
> >
> >
> > Hi,
> >
> > Can anyone please tell me how to add a CSS file and use the styles defined 
> > in CSS file in the flex application.
> >
> > Thanks in Advance
> >
> > regards,
> > Venkat Perpati.
> >
> >
> > ________________________________
> Meet people who discuss and share your passions. Join them now.
> >
> >
> >
> > 
> 
> 
>          
> 
>        
> ---------------------------------
>  5, 50, 500, 5000 - Store N number of mails in your inbox. Click here.
> 


--
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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> 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