I have a Pape width different DIVs and a PRINT link.
I want that if the user clicks on a Print link should
a specific DIV be printed not the whole page.
I have a Pape width different DIVs and a PRINT link. I want that
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I think you can use CSS, like so:
but I don’t think this is supported on all browsers. The alternative would be to open the contents of the DIV in a new window, and then print that window.