Re: Print preview in php [message #174245 is a reply to message #174242] |
Sat, 28 May 2011 12:22 |
TK
Messages: 6 Registered: May 2011
Karma:
|
Junior Member |
|
|
On 5/28/2011 7:04 AM, Co wrote:
> On 28 mei, 13:33, Thomas 'PointedEars' Lahn<PointedE...@web.de>
> wrote:
>>
>> Or you could much more simply define a stylesheet for print media that does
>> the necessary adjustments:
>>
>> <link rel="stylesheet" media="print" href="print.css">
>>
>> PointedEars
>> --
>> Prototype.js was written by people who don't know javascript for people
>> who don't know javascript. People who don't know javascript are not
>> the best source of advice on designing systems that use javascript.
>> -- Richard Cornford, cljs,<f806at$ail$1$8300d...@news.demon.co.uk>
>
> I found an example doing that but I still printed the whole page.
Make the items you do not want to display have a class="nodisplay"
In the print css sheet define .nodisplay {display:none;}
--
TK ~ aka Terry Kimpling
http://wejuggle2.com/
If you can be legally insane, can you not be illegally insane?
|
|
|