You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to generate a pdf from url. the pdf is getting generated of 2 pages but i want second page to have margins while i don't want margins for the first page of pdf. is it possible?
The text was updated successfully, but these errors were encountered:
Yes, you can do it. you can put CSS on HTML page like this.
@page{ margin: 0px;margin-bottom: 10px;margin-top: 10px; } //this will be used for all pages @page:first{margin-top: 0px;margin-bottom: 0px;} //this css will used for first page, this is override.
I want to generate a pdf from url. the pdf is getting generated of 2 pages but i want second page to have margins while i don't want margins for the first page of pdf. is it possible?
The text was updated successfully, but these errors were encountered: