Format for printing?

41 views
Skip to first unread message

da...@bakins-bits.com

unread,
May 7, 2021, 5:09:55 PM5/7/21
to TiddlyWiki
Does anyone have a pointer to a TW with a nice ocmpact print CSS defined that I could get started with?

It would be nice if I could just swipe from someone who already knows all the classes and such to override ...

Thanks! -- David

Charlie Veniot

unread,
May 7, 2021, 5:43:48 PM5/7/21
to TiddlyWiki
How's this ?  It is extremely basic, largely cut and paste from whatever I could find on the web.

@media screen { .do-print { display: none; } } @media print { @page { margin-left: -5cm; margin-right: 1.5cm; } .no-print, .no-print * { display: none !important; } .do-print { display: block; } }

Reply all
Reply to author
Forward
0 new messages