You need to sign in to do that
Don't have an account?
Niki Shah 12
how to use external css on pdf page
I create a pdf page now i want to use external css on pdf page.i used give to link for boot streap but it's not working.
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
https://developer.salesforce.com/forums/?id=906F0000000BYVjIAO
you can try below code...
You can use external css on pdf page through static resources.
How to Use external css in Visual force Pages
Step 1: Create a CSS file.
Open NOTEPAD or any text editor and type the following code: Save the file with a .css extension (say CssExample.css)
Step 2:
Upload the saved file as a Static resource.
Setup -> Develop -> Static Resources and click on NEW.
Give a name for the static resource say CssExample. Remeber to set the Cache Control as "Public".
Step 3:
Create a visualforce page and paste the following code.. Save the page. Now you can see that the text within <h1> tag is displayed in GREEN color because you have specified so in the CSS file.
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks,
Ajay Dubedi