Thanks a lot,  Mario.
I'm learning something new every day :-)

As I understand it - there are 2 ways to control printout in the
@media section of the StyleSheet
{display: none !important;}
and
{visibility: hidden ! important;}
What is the difference? To me it seems that the end result is
identical..

Is there some way to disable a class from beeing executed in a
printout?
ie
.groupbox {disable !important;}  ??

I have text which is wrapped in a groupboxClass in the TW, but it
should be printed without the groupbox..

Regards Måns Mårtensson


On 13 Mar., 23:59, PMario <[email protected]> wrote:
> 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 
> w3schoolshttp://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