Re: color control in a textarea for chat application

2009-02-13 Thread Steven
Actually I still have one problem: when I invoke the method: HTMLObject.addSyleDependentname("blue") all the text inside the textarea gets blue. Instead I would like only the coming writings to be blue, while the past writings should keep black...how to do? Thank you in advance! Steve On 1

Re: color control in a textarea for chat application

2009-02-13 Thread Steven
Great suggestion! I have added a stylesheet file into the 'gwtOutput' folder of my web dynamic project, with the correct styles which you suggested: now it works fine. Thanks! Steve On Feb 5, 7:37 am, Damien Picard wrote: > Sorry, the correct styles are : > > .gwt-HTML { >     font-family:

Re: color control in a textarea for chat application

2009-02-04 Thread Damien Picard
Sorry, the correct styles are : .gwt-HTML { font-family: Arial, sans-serif; font-size: 10px; } .gwt-HTML-blue{ color: blue; } (I've added text-color in order to test this declaration :p ) 2009/2/5 Damien Picard > Hi ! > > I think you've got an error in your css declaration "text-co

Re: color control in a textarea for chat application

2009-02-04 Thread Damien Picard
Hi ! I think you've got an error in your css declaration "text-color". Currently, this declaration is not really compliant. You have to use "color" instead of. I've tried what you have done, and it works for me : Entry Point module : public class testApplication implements EntryPoint { priva

color control in a textarea for chat application

2009-02-04 Thread Steven
Hi all, I would like to create a non-editable color-controlled (or style- controlled) textArea for a GWT chat application. For instance I woud like to change the color (or the text-style) of the messages depending on the message sender. To do that, after reading previous posts on this group I c