function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
The KnightThe Knight 

Printing specified part of the page.

We have a requirement to take print of part of the page. Right now I am using Yahoo UI(Modal Dialog) for the

popup and using CSS as shown below

  @media print{.....}.

 

 This prints the specified part of the page but along with salesforce header and footer (CustomTabs, Logo, Links 

specified in the footer ). How can we avoid these parts in the printout.

 

Making showHeader="false" is not an option. 

 

Any help would be appreciated

Joseph