I would like to print scrollable div as WYSWYG. Is there a way?
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.
Not with pure css, I don’t think. My…interpretation of what happens when you hit the print button is that the document’s reloaded with either the
media="print"or other relevant stylesheet, and then sent to print-preview/the printer as a new document, with all content in the default/start position as defined in that stylesheet.Since I can’t think of a way to position the scrolling content, using css, I’d have to say that it’s not possible. Javascript’s almost certainly the way to go on this one.
…may I ask why you’d want to do this? It’s not a criticism, I just…don’t understand.