[Trac] How do I color inline text?

Emmanuel Blot manu.blot at gmail.com
Wed Aug 2 17:10:59 CDT 2006


> Use something like this:
> {{{
> #!html
> <font color="green">Greent Text</font>
> }}}

As Trac produces XHTML strict, I think it should be better to stick
with HTML & CSS:

{{{
#!html
<span style="color:green">Green Text</span>
}}}

If you use the <font> tag, it will break the XHTML strict language
definition, as Trac does not perform any kind of conversion here.

Cheers,
Manu


More information about the Trac mailing list