Hi,<br>I'm probably not explaining well (sorry about my english). I need to make a programming exercise with a piece of java code to complete, and I would like to put text with different colors. I'm using HTML tags, like this:<br>
<br> <font color="#0000FF">public static void</font> <b><i>main</i></b>(String[] args) {<br> <font color="#999999">//declara um array de inteiros</font> <br>
<font color="#0000FF">int</font>[] A = <font color="#0000FF">new int</font>[ |3| ];<br><br>It works fine in preview, but when I use the code to break the words apart ( <i style="background-color: rgb(255, 255, 255); color: rgb(102, 102, 102);">w = mainText.breakApart(3,7,false,false);</i> ), in preview HTML tags display as text. Is there another way to do this? Anyone can help?<br style="background-color: rgb(102, 102, 102);">
<br>Thanks a lot. And I'm sorry for the repeated e-mail.<br><br>Bárbara Furtado<br> <br><br><div class="gmail_quote">No dia 12 de Setembro de 2010 00:29, Bárbara Furtado <span dir="ltr"><<a href="mailto:bfurtado@student.dei.uc.pt">bfurtado@student.dei.uc.pt</a>></span> escreveu:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi,<br>I have a text entry exercise (interaction), and I need to write text with different font colors. When I use <font color="#000000"> example </font> in a simple text icon, it works. But when I break text apart with function myIcon.breakApart(...) to make the exercise, in preview all text colors disappear and shows all the <font> codes, like it was text.<br>
How can I solve this? I'm using Xerte desktop version.<br><br>Thanks,<br><font color="#888888">Bárbara Furtado<br>
</font></blockquote></div><br>