05-01-2008, 08:12 PM #1
- Member Since
- Apr 24, 2008
- West of Paris
- MacBookPro, iMac, OS 10.12.2, iPhone 5c iOS 10.2, iPad mini, iOS 9.3.5
On the website, we want to have "screen view" for viewing and "print view" for printing.
In the past and when floated objects are located on the webpage, we prepare a pdf file for that.
When no floated objects appear on the page, we want to use instead as "print view" an html view of the same page (same.html file) to reduce work and footprint on the hosting server. In other words, the "print view" is a reliable screen view of what will be printed if we print the "print view" page using the printer
The way the site is programmed today, two stylesheets exist: a standard one for screen viewing called "styles.css" and a special one for print called styles_print.css"
The print view is accessed throug a copy of the original html file "original.html" called original_print.html" and containing a link modified to point to "styles_print.css"
Example page: see <http://tinyurl.com/59m7ar>
MacBookPro, iMac, iPhone 5c, iPad mini, AirPort Time Capsule (1st Generation), AirPort extreme (3rd generation), Apple TV (1st generation)
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By analogue_radio in forum Apple NotebooksReplies: 1Last Post: 04-21-2010, 11:19 PM
By analogue_radio in forum OS X - Operating SystemReplies: 6Last Post: 11-03-2009, 10:45 AM
By FinnIII in forum Web Design and HostingReplies: 6Last Post: 04-19-2008, 08:45 AM
By ricecook in forum OS X - Operating SystemReplies: 5Last Post: 12-05-2007, 12:21 AM