Re: [MediaWiki-l] [reportlab-users] Different styles for screen and print

2013-11-29 Thread Yan Seiner
On 11/29/2013 07:57 AM, Yan Seiner wrote: I have a mediawiki template for a photo gallery - basically 2 images sized to span the width of the page. I am using mwlib / rl reports to generate pdfs from the wiki. I need to have one format / size of the images for screen display and one for the

Re: [MediaWiki-l] [reportlab-users] Different styles for screen and print

2013-11-29 Thread Daniel Friesen
Don't use an explicit @media in Common.css and Print.css, those are implicit. You don't need the div portion of the selectors, just use .ys_print and .ys_screen. Get rid of the style=media:*, those are completely invalid and meaningless. ~Daniel Friesen (Dantman, Nadir-Seen-Fire)

Re: [MediaWiki-l] [reportlab-users] Different styles for screen and print

2013-11-29 Thread Yan Seiner
OK, thanks. That cleared it up a bit. setting display: none in Common.css turns off display for printing as well; how do I get it to turn on for printing? I tried .ys_screen { display: none; } .ys_print { display: inline; } in Print.css but it has no effect; neither