[pmwiki-users] How to suppress text in print view

Hans design5 at softflow.co.uk
Thu Jun 5 04:52:51 CDT 2008


Thursday, June 5, 2008, 3:37:21 AM, Randy wrote:

> Something like:

 >>>noprint<<
> [[Jump to another page | AnotherPage ]]
 >>><<

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:

>>noprint<<
%this won't print
>><<

or as wiki style:

%noprint%this won't print%%



  ~Hans




More information about the pmwiki-users mailing list