hi atw, I had similar problem. I was trying to color text displayed by doc.display and could only get black. I got around it by using inline css: <span style="color:#ff0000;font-size: 16pt;font-family:'arial, sans-serif' "> $doc.display("farResult", "view", $obj)</span> There is probably a much better solution. John Carroll atw wrote:
Most likely I'm missing something, but maybe someone can help me out with this:
when I insert something like:
{code} #set($e = "Test") {code}
in a page, I'd expect the content displayed in Courier or a similar font. But all I can get is Arial...
(XE 1.5 RC2 as well as 1.41 on Windows XP, Tomcat 6.0, Oracle 10.2.0.3, Firefox 2).
Thanks for any help on this!
-- View this message in context: http://www.nabble.com/Problem-with-Code-Macro-tp18238925p18239922.html Sent from the XWiki- Users mailing list archive at Nabble.com.