Forums

White text in TEXTAREA

MicroMelody 22 Dec, 2008
Hi,

when using textareas (.e.g with the form wizard), I always have white text! Also when I try to display earlier data (other fields work) I see an empty TEXTAREA. When I select the white text in it, it becomes blue...

E.g.:

<DIV class=form_item>
<DIV class="form_element cf_textarea">
<LABEL class=cf_label>Toelichting</LABEL>
<TEXTAREA class=cf_inputbox id=toelichting name=toelichting rows=3 cols=30><? echo $data[toelichting]; ?></TEXTAREA></DIV>
<DIV class=clear> </DIV></DIV>


Where can I change the color? Because <SPAN> etc doesn't work since it is displayed as text in the TEXTAREA.

Thanks,

Gr, Jan
GreyHead 22 Dec, 2008
Hi Jan,

This usually happens with dark colored themes that use white or light-coloured text.

You should be able to fix it with some css that relates just to the form. Something like:

<style type="text/css">
form input {color:black;}
</style>
NB Not tested and may need debugging.

Bob
This topic is locked and no more replies can be posted.