Try adding this to css:

@media print 
{ 
    .OtherContent (display : none} 
} 
-->
</style>
 Then put tags around the part of the page that you don't want to print:

<div.OtherContent>
'''''' Dont print this
</div>
<div>
Print this......
</div>
<div.OtherContent>
'''''' Dont print this
</div>

Bob Filipiak
A question not asked
  is a lost opportunity to learn.
----- Original Message ----- 
From: "Erwin Rommel Felix 2000A" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, February 15, 2005 4:28 AM
Subject: [AspClassicAnyQuestionIsOk] Printing in ASP


> 
> I want to add a print functionality in my application.
> Javascript uses window.print() but the problem with
> it is that it prints the whole contents of the window.
> What I want to happen is only a certain section or
> only the elements contained in one <div></div> will be
> printed.  
> 
> Is this possible? If yes, please decribe to me how.
> 
> =====
> Erwin Rommel Y. Felix
> Tel. 8410111 loc. 11430
> Mobile 09185980706
> 
> "Never outshine the Master Chicker"
> 
> 
> 
> 
> 
> 
> __________________________________ 
> Do you Yahoo!? 
> Yahoo! Mail - now with 250MB free storage. Learn more.
> http://info.mail.yahoo.com/mail_250
> 
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
> 
> 
>




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to