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
Bhaskar ChowdaryBhaskar Chowdary 


Hello All,
I developed a system that genate PDF for 2 pages.
If data is sufficient to one page(no data for second page) my CSS is genarating second page by auto.
I dont want to see my second page.
How to I restrict that by using CSS.
I used above examples for genarating PDF and based on those CSS files my PDF is genarating.
I used this CSS in my  Component.

that CSS file stored in Static resource as a ZIP file and I am Accessing that in my component by using <apex:includeScript>

please assist ASAP.
for this we are stopped on going process.


Ankit AroraAnkit Arora
I stuck with same problem once, but I think there is no straight forward way to resolve this. You've to identify how to fix this based on your data.