+ Start a Discussion
Anil SavaliyaAnil Savaliya 

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


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)}" />