Sent by Barney Carroll on 18 February 2012 09:09
Hiya Ellen,
Google search for html5shiv print revealed this:
https://github.com/aFarkas/html5shiv/blob/master/src/html5shiv-printshiv.js
Don't have a printer at hand to test but by all accounts it seems vetted by the experts…
Regards,
Barney Carroll
(+44) 742 9177 278
On 18 Feb 2012, at 08:55, Ellen Herzfeld [EMAIL-REMOVED]> wrote:
> Not one single answer to my question of a few days ago. Strange.
>
> Must I infer that either nobody uses html5 + the html5shiv (or shim) directly from googlecode + a
print stylesheet and wants this print stylesheet to work in explorer 6, 7 and 8. Or, maybe, you are
using this wicked combination of things and it works for you?
>
>
> My test pages have moved :
>
> The page with the unsatisfactory fix I found (html5shiv-printshiv.js on my machine and some rules
duplicated at the end of the print stylesheet) is here:
> http://goo.gl/QZHyG
>
> The page without the fix is here:
> http://goo.gl/dp1Dn
>
> Of course, the problem only exists in IE 6,7,8 and can be seen using the print preview.
>
> I really don't see why the file posted on googlecode doesn't work.
>
> And also, why, even with the shim file on my server, I need to duplicate some rules so that IE
sees them.
>
>
> Ellen
>
>
>
> On 13 Feb 2012, at 16:31, Ellen Herzfeld wrote:
>
>> Hello,
>>
>> According to https://code.google.com/p/html5shiv/, the script enables printing html5 elements in
IE < 9.
>>
>> What I find is that if I use the script hosted on googlcode.com, it works fine for the screen but
doesn't work for printing.
>>
>> However, if I download the source from https://code.google.com/p/html5shiv/ and put the file
"html5shiv-printshiv.js" on my server, and link to it, it mostly works.
>>
>> I say mostly, because I find that some padding and margins aren't seen by IE6, 7 and 8. To fix
this problem I just copied the ignored rules into the print stylesheet and then IE applies them. I
haven't found anything anywhere about this.
>>
>> Has anyone else noticed these problems. Especially the fact that using the compressed js file
from googlecode doesn't work for printing?
>>
>> The page I'm testing this on is here :
http://qd.xlii.org/2012-print/archives/klein/miracles.html.
>>
>> Thanks for any feedback.
>>
>> Ellen
>
> ______________________________________________________________________
> css-discuss [EMAIL-REMOVED]]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> List policies -- http://css-discuss.org/policies.html
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/