Click here to Skip to main content
15,887,175 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I need to print my panel which have some label ant text box , i groped all text box and panels in to one single panel name called entire_panel
Posted

1 solution

The override of style and layout for physical printing is controlled by CSS.

Within CSS you can set different styles for different media types.

The default media type is screen as most websites are primarily designed to be displayed on a screen. But without explicit print declarations the browser will do it's best to transform you screen page into a printable format.

You define different sections for different media types using the @media declaration in CSS.

The following article will take you through the basics of setting this up.

How To Set Up A Print Style Sheet[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900