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
Anil SavaliyaAnil Savaliya 

CSS is not working,When Visualforce page render as a PDF

Hey,

I am trying to creat visualforce page,and it's render as a PDF,But CSS is working only when i write inline style, But It's not working when i write different in class,

For expriment You can take w3 school sample code : 
http://www.w3schools.com/html/tryit.asp?filename=tryhtml_layout_divs  and page render as PDF

Any comment ? Any Idea ? Any suggestion ?
Best Answer chosen by Anil Savaliya
Anil SavaliyaAnil Savaliya
I got answere my self,Just moving CSS in static resources,refering static resourse CSS in VF page using 


<apex:styleSheet value="{!URLFOR($Resource.Envelope)}" />