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