FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Print preview in php
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Print preview in php [message #174245 is a reply to message #174242] Sat, 28 May 2011 12:22 Go to previous messageGo to previous message
TK is currently offline  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?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Storing parsed XML-elements as blobs
Next Topic: PHP Extension Won't Install
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 29 17:13:34 GMT 2024

Total time taken to generate the page: 0.07902 seconds