You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jspwiki.apache.org by Terry Steichen <te...@net-frame.com> on 2009/03/06 22:02:44 UTC
Printing in black and white
I've embedded some CSS code directly into my WikiPage to set the font
size and color.
Specifically, I wrap the text with this directive: %
%(font-size:1.2em;color:#666600;line-height:1.5em)
My question is if it's possible to get that same page to print in black
and white?
Note: I can do it in a JSP using embedded styles, but am not sure how to
do it with JSPWiki markup.
Re: Printing in black and white
Posted by Dirk Frederickx <di...@gmail.com>.
Terry,
If you plan to differentiate between screen and print media, I'd suggest you
use regular css classes, instead of embedded css
%%myspecialcssclass
xxx
/%
Put your special font/color styles in the jspwiki.css file.
And overwrite that css class with black/white settings in the
jpswiki_print.css file.
dirk
On Fri, Mar 6, 2009 at 10:02 PM, Terry Steichen <te...@net-frame.com> wrote:
> I've embedded some CSS code directly into my WikiPage to set the font
> size and color.
>
> Specifically, I wrap the text with this directive: %
> %(font-size:1.2em;color:#666600;line-height:1.5em)
>
> My question is if it's possible to get that same page to print in black
> and white?
>
> Note: I can do it in a JSP using embedded styles, but am not sure how to
> do it with JSPWiki markup.
>
>
>
>