I have an application that shows a list of items.
The user can click on an item and see its details in a modal popup (centered DIV, shown using JavaScript). I need t
You could add a 'noprint' class name to a div wrapping everything you do not wish to print.
If you also want the main page to be printable without the dialog you can add class name to the wrapper DIV when the user presses the PRINT button and remove the class name after.
@media print {
.noprint {
display:none
}
}