We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi!
We have a problem with IE9 and printing. We are using HTML 5 elements in our code that we would like to hide when printing:
HTML:
<link rel="stylesheet" type="text/css" media="print" href="print.css"/> <script src="html5shiv-printshiv.js"></script> .... <nav> <ul> <li>Should not be printed</li> </ul> </nav>
print.css
nav { display :none }
This works great when using IE8 and the printshiv resulting in the nav tags being hidden. But when I print using IE9 the nav tags are displayed.
Your documentation says that the printshiv only supports IE8, is there any reason why you won't support IE 9?
I tried to hack printshiv by replacing:
var supportsShivableSheets = !supportsUnknownElements && (function() ...
with: var supportsShivableSheets = (function() ...
This seemed to fix the printing problem, but I don't know if this will have any side effects?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi!
We have a problem with IE9 and printing. We are using HTML 5 elements in our code that we would like to hide when printing:
HTML:
print.css
nav { display :none }
This works great when using IE8 and the printshiv resulting in the nav tags being hidden. But when I print using IE9 the nav tags are displayed.
Your documentation says that the printshiv only supports IE8, is there any reason why you won't support IE 9?
I tried to hack printshiv by replacing:
with:
var supportsShivableSheets = (function() ...
This seemed to fix the printing problem, but I don't know if this will have any side effects?
The text was updated successfully, but these errors were encountered: