[daisy] Changing color of one word of text

Andreas Deininger adeininger at googlemail.com
Thu Jun 21 07:33:55 CDT 2007


2007/6/15, Thomas.Connally at dds.net <Thomas.Connally at dds.net>:
>
> Hi,
>
> Is it possible, in Daisy 1.3 (or other versions) to change the color of one
> word, or just a few words, of text? I tried using the <FONT COLOR="######">
> </FONT> tag in the text editor, but it did not seem to produce results.

I assume the <FONT>-tag  was removed by the htmlcleaner-component of
Daisy. You need to adapt the file
$DAISY_HOME/daisywiki/webapp/daisy/resources/conf/htmlcleaner.xml so
that this tag will be retained. However, I think it would be more
appropriate to use the style attribute of a <span>-tag to achieve that
formatting.

Hope that helps
Andreas


More information about the daisy mailing list