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 #174253 is a reply to message #174245] Sat, 28 May 2011 14:14 Go to previous messageGo to previous message
dougatmilmacdotcom is currently offline  dougatmilmacdotcom
Messages: 24
Registered: May 2011
Karma:
Junior Member
In article <irqpf4$db0$1(at)dont-email(dot)me>, TK <tknospa(at)wejuggle2(dot)com> wrote:
> On 5/28/2011 7:04 AM, Co wrote:

>>
>> 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;}
>
A much better idea IMHO is to make the items you do not want to *print* have a
class="noprint", and in the print css sheet define .noprint {display:none;} --
properly descriptive names make it much easier to understand what's going on.
[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: Tue Nov 26 03:38:56 GMT 2024

Total time taken to generate the page: 0.04709 seconds