Hans,

I like your approach, since I don't have to worry about conditional  
logic. Unfortunately, this didn't work for me. Does local.css need to  
contain anything other than the three lines you've given?

Randy

On Jun 5, 2008, at 4:52 AM, Hans wrote:
>
> you can define a class 'noprint' as css style in pub/css/local.css
>
> @media print {
>   .noprint { display: none; }
> }
>
> Note the class is enclosed in a @media print {   } container, which
> will only be applied for when the page gets printed (or previewed for
> print).
>
> Then use as you suggested as class in a div:
> or as wiki style:
>
> %noprint%this won't print%%


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to