Topic: Can you help me? Textarea and colors :( (Read 341 times)
Total Zero
Gender:
Posts: 5
38 credits Members referred : 0
« on: Oct 13, 2008, 08:10:34 PM »
I have the following problem: I have a textarea with a basic CSS and a default text color but wat i need is to make one part of the content of this texarea in a different color. Realy i don't know is it possible. I need to do that "onLoad" of the textarea. It's like the WYSIWYG editors but i only need a part of the string to be in different color (nothing else /for now /).
Thanks in advance.
I am a metal monkey!
Administrator Community Supporter?
Jedai Sword Master
Gender:
Posts: 8266
42583 credits Members referred : 3
« Reply #1 on: Oct 13, 2008, 10:34:40 PM »
I am afraid you can't use a color for a part of a textarea but only for the whole textarea
I am afraid you can't use a color for a part of a textarea but only for the whole textarea
I'm aware of that but WYSIWYG editors are able to do it (but as far as i know with some iframe).
I think that i can't use WYSIWYG editor for this becouse i need to color the string dinamicly . But i'll think of that option thanks Olaf.
Global Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6479
39706 credits Members referred : 374
It's time to use PHP5!
« Reply #4 on: Oct 14, 2008, 09:52:02 PM »
look tinymce or others are not showing you a textarea, they show you a box manipulated with JS. They use the textarea as an container which is able to post content