![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I would like the on-screen display to use low-res versions (96 dpi) of the images, to ensure fast loading. But I would like the printed version to use high-res versions (300 dpi or more). The printed page should be identical in appearance to the on-screen page, but just with more detail in the images. Can I do this using only CSS, with @media screen and @media print? |
#3
| |||
| |||
|
|
The printed page should be identical in appearance to the on-screen page, but just with more detail in the images. Can I do this using only CSS, with @media screen and @media print? Thanks in advance. |
#4
| |||
| |||
|
|
roger128shrubber (AT) hotmail (DOT) com (Roger Shrubber) wrote: The printed page should be identical in appearance to the on-screen page, but just with more detail in the images. Can I do this using only CSS, with @media screen and @media print? Thanks in advance. @media screen{ .print{display:none} } @media print{ .screen{display:none} } img src="lowres.jpg ... class="screen" img src="highres.jpg" ... class="print" |
#5
| |||
| |||
|
|
The printed page should be identical in appearance to the on-screen page, but just with more detail in the images. Can I do this using only CSS, with @media screen and @media print? Thanks in advance. @media screen{ .print{display:none} } @media print{ .screen{display:none} } img src="lowres.jpg ... class="screen" img src="highres.jpg" ... class="print" |
#6
| |||
| |||
|
|
Spartanicus wrote: roger128shrubber (AT) hotmail (DOT) com (Roger Shrubber) wrote: The printed page should be identical in appearance to the on-screen page, but just with more detail in the images. Can I do this using only CSS, with @media screen and @media print? Thanks in advance. @media screen{ .print{display:none} } @media print{ .screen{display:none} } img src="lowres.jpg ... class="screen" img src="highres.jpg" ... class="print" Dammit. Why didn't I see that solution?! Of course, a non-CSS browser will paint a rather strange page... |
#7
| |||
| |||
|
|
roger128shrubber (AT) hotmail (DOT) com (Roger Shrubber) wrote: The printed page should be identical in appearance to the on-screen page, but just with more detail in the images. Can I do this using only CSS, with @media screen and @media print? Thanks in advance. @media screen{ .print{display:none} } @media print{ .screen{display:none} } img src="lowres.jpg ... class="screen" img src="highres.jpg" ... class="print" |
#8
| |||
| |||
|
|
Are sure that - highres.jpg won't be loaded if the page is called - highres.jpg will be loaded by a new page call when the print command is selected ? |
|
If yes (cross browser), your solution is amazing |
#9
| |||
| |||
|
|
Spartanicus <me (AT) privacy (DOT) net> wrote: The printed page should be identical in appearance to the on-screen page, but just with more detail in the images. Can I do this using only CSS, with @media screen and @media print? Thanks in advance. @media screen{ .print{display:none} } @media print{ .screen{display:none} } img src="lowres.jpg ... class="screen" img src="highres.jpg" ... class="print" Or better: img src="lowres.jpg" ... a href="highres.jpg">High resolution version for printing</a |
#10
| |||
| |||
|
|
img src="lowres.jpg" ... a href="highres.jpg">High resolution version for printing</a This is only suitable if you want to print the image seperately. If I understand the OP correctly he wants to print out his page layout with the high res images included. |
![]() |
| Thread Tools | |
| Display Modes | |
| |