Hi

At you StyleSheet at the end is allready a @media print section. You
can add your definition there.


On Mar 13, 9:07 pm, Måns <[email protected]> wrote:
> Hi Mario
>
> Here it is (at the bottom)http://maans.bplaced.net/TiddlyHome/projekt/
> #UdtalelseViewTemplate:
>  <div macro='tiddler CheckboxToggleTag with:"Udtalelse"'></div>
>
> If I enclose the macro in a class which is hidden in @media print{}
>
> Like this: <div class='hideFromPrintout' macro='tiddler
> CheckboxToggleTag with:"Udtalelse"'></div>
>
> and @media print{.hideFromPrintout{visibility: hidden ! important;}}
>
> Would it work?

It should
There is a second possibility

.anyClass {display: none !important;}

some Information can be found at w3schools
http://www.w3schools.com/CSS/css_mediatypes.asp

I allways use the browsers print preview function to check it
Or I print to FreePDF

a simple TestTiddler for print preview

<html>
<div class='dontPrint'> don't print this text  </div>
<style>
@media print{
.dontPrint {display: none;}
}
</style>
</html>

hope this helps
regards Mario

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to