Just add font-family to .code pre (or any else that's inside class
.code):
.code pre {
font-family: Courier;
}
As there are some specific spans in code macro, like span with class
.java-quote, you might need to specify its font-family too:
.java-quote {
font-family: Courier;
}
or
.java-quote {
font-family: inherit;
}
Quoting atw : 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-tp18238925p18238925.html
Sent from the XWiki- Users mailing list archive at
Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Ar cieņu, Mihails
Links:
------
[1] mailto:traninger@mdw.ac.at