How to print a webpage in two columns or one column as per the user input/choice.
And when a take a print out I’m getting the website url on the top left side, How can we stop printing this?
Regards
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.
When specifying a
<link>(such as to a CSS stylesheet) you can specify a media attribute so the CSS will only be used for print or screen. (or braille!) The CSS in this file can then re-style your site into columns as you see fit.You could specify two print CSS files like this, and – using JavaScript – prompt the user for which CSS file to use when they print, toggling the
disabledmember of the<link>: