I dropped my external print style ages ago and instead just added a @print block in my regular style sheet.
Then I ran into trouble with postloaded css using IE8 (which I loath having to support) where it would display everything as print layout, so back to the external style sheet, which fixes the problem. Modern browsers only download a print style sheet when needed and it's cacheable, so maybe I can tolerate it for now.
Anyway, I ran into these excellent links:
https://designshack.net/articles/css/6- ... ilerplate/
https://www.smashingmagazine.com/2015/0 ... -with-css/
https://www.smashingmagazine.com/2013/0 ... le-sheets/
Print style sheets
-
- Rank VI - Professional
- Posts: 596
- Joined: Mon Jun 09, 2008 2:12 pm
- Location: Fargo, ND
Print style sheets
Rick
-
- Site Admin
- Posts: 3785
- Joined: Sat Dec 11, 2004 9:23 am
- Location: Near Dallas, TX
Re: Print style sheets
I finally got a chance to look at all those links and ran the CSS through CSE HTML Validator. I was able to make some improvements for the upcoming v17 release.
Rock, if you don't mind, could you send me your print style sheet so I can see what further improvements I can make to CSE HTML Validator (if any)? Thanks!
Rock, if you don't mind, could you send me your print style sheet so I can see what further improvements I can make to CSE HTML Validator (if any)? Thanks!
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
-
- Rank VI - Professional
- Posts: 596
- Joined: Mon Jun 09, 2008 2:12 pm
- Location: Fargo, ND
Re: Print style sheets
I glanced over the pages I linked to and I must say, there is lots of good content there... a lot of stuff I should be implementing.
I sent you an email with some css.
I sent you an email with some css.
Rick
-
- Site Admin
- Posts: 3785
- Joined: Sat Dec 11, 2004 9:23 am
- Location: Near Dallas, TX
Re: Print style sheets
Thanks Rick. I got it and plan to look at it soon.
UPDATE: I made some minor tweaks to the output based on the CSS documents that you sent. Thanks again!
UPDATE: I made some minor tweaks to the output based on the CSS documents that you sent. Thanks again!
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
-
- Rank VI - Professional
- Posts: 596
- Joined: Mon Jun 09, 2008 2:12 pm
- Location: Fargo, ND
-
- Rank VI - Professional
- Posts: 596
- Joined: Mon Jun 09, 2008 2:12 pm
- Location: Fargo, ND
Re: Print style sheets
Just when you thought it was safe to go back in the water...
How do I create a printer friendly email newsletter
How do I create a printer friendly email newsletter
Rick