Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
untill i used client dependency, i use to have 2 versions of css:
<link rel="stylesheet" type="text/css" href="core.css" media="screen" />
<link rel="stylesheet" type="text/css" href="print.css" media="print" />
how can i do that when using client dependency loader control?
Thanks.
you can't do media="print" with Client Dependency....yet
so just put your normal link in for the print css
just asked Shazwazza
You can wrap the css inside your print stylesheet in the @media print directive. Then you don't need the media="print" on the link tag.
Like this:
<link rel="stylesheet" type="text/css" href="print.css">
Then in your print.css style sheet wrap all the styles in the @media print directive:
@media print{ body { font-size: 67%; } .no-print { dispay: none; }}
ClientDependency will then minify and load it with all the other stylesheets and the print styles are still correctly applied.
I hope this helps.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
client dependency and print style sheet
untill i used client dependency, i use to have 2 versions of css:
<link rel="stylesheet" type="text/css" href="core.css" media="screen" />
<link rel="stylesheet" type="text/css" href="print.css" media="print" />
how can i do that when using client dependency loader control?
Thanks.
you can't do media="print" with Client Dependency....yet
so just put your normal link in for the print css
just asked Shazwazza
You can wrap the css inside your print stylesheet in the @media print directive. Then you don't need the media="print" on the link tag.
Like this:
Then in your print.css style sheet wrap all the styles in the @media print directive:
ClientDependency will then minify and load it with all the other stylesheets and the print styles are still correctly applied.
I hope this helps.
is working on a reply...