You can't use anything but the simplest of CSS. I talked about it in my blog post: http://devharbor.blogspot.com/2008/12/display-html-file-in-flex-textarea.html
TextArea is based on the flash.text.TextField object. Take a look here for what it allows: http://livedocs.adobe.com/flex/3/langref/flash/text/TextField.html#htmlText - Alex --- In flexcoders@yahoogroups.com, "jack_freud" <jack_...@...> wrote: > > I'm trying to apply a style to the <a> element in htmlText in a > TextArea component. Following David Coletta's example > (http://www.colettas.org/?p=91) I can get underline or font color to > work just fine, but background color is a stumper. > > Has anyone succeeded at doing this? > Thanks, > Jack >