Print <div id=printarea></div> only?

Posted by noesgard on Stack Overflow See other posts from Stack Overflow or by noesgard
Published on 2009-01-22T12:09:36Z Indexed on 2010/04/11 22:43 UTC
Read the original article Hit count: 260

Filed under:
|
|
|

How do I print the indicated div (without manually disabling all other content on the page)?

I want to avoid a new preview dialog, so crating a new window with this content is not useful...

The page contains a couple of tables, one of them contains the div I want to print - the table is styled with visual styles for the web, that should not be shown in print....

© Stack Overflow or respective owner

Related posts about dhtml

Related posts about JavaScript