PDA

View Full Version : how to set color in htmlText


kozel
08-30-2005, 04:17 PM
Hello,
I have dynamically created a text field, which displays text from an external XML file. In the XML i am using this syntax:

<sometag>
<p>this gonna be <b>bold</> and this gonna be <font color="00FFFF">cyan<font></p>
</sometag>

it makes the text bold, where I want it to be, but the color remains black. Any Ideas? Thanx.

Xeef
08-30-2005, 04:24 PM
"b" is uncorectly clossed
"font" is uncorectly clossed
"#" is needed in front of "00FFFF" --> "#00FFFF"

kozel
08-30-2005, 04:28 PM
thank you, well, the #is what i needed. Those two first tags were accidentally misspelled.