Hi,
I would recommend using <span> and inline styles ,
e.g. if you don't need Flash support you could do:
|
Quellcode
|
1
|
html="black [span style='color:#0000FF;']blue[/span] black [span style='color:#FF0000;']red[/span] black"
|
Adding Flash support would be possible too, but the Flashplayer would need a <font> element for changing the color (see
here) - so <font> tags and color and style would need to be used together, a HTML5 browser will ignore the <font> and handle it like a <span> element.
So that would be the same for Flash AND HTML5 support:
|
Quellcode
|
1
|
html="black [font color='#0000FF' style='color:#0000FF;']blue[/font] black [font color='#FF0000' style='color:#FF0000;']red[/span] black"
|
Best regards,
Klaus