You need to sign in to do that
Don't have an account?
liron169
CSS definition not working for API 28
I have VF page as PDF + apex class, that currently working OK.
Both are in API 25.
If I change the API of the page to 28, than non of the CSS definition are not working (when changing to 27 it's works).
Does anyone know what has changed in this API that might causing it?
Are you using @Page by any chance?
The @page attribute is not working in version 28.0. To use @page attribute in version 28.0 we need to the following things:
1. Set "applyHtmlTag" attribute of page to "false"
2. Set "applyBodyTag" attribute of page to "false".
3. Add Zhtml><head></head>>body></body></html> tag in visual force page.
All Answers
Are you using @Page by any chance?
The @page attribute is not working in version 28.0. To use @page attribute in version 28.0 we need to the following things:
1. Set "applyHtmlTag" attribute of page to "false"
2. Set "applyBodyTag" attribute of page to "false".
3. Add Zhtml><head></head>>body></body></html> tag in visual force page.
OK,
Found the issue.
http://stackoverflow.com/questions/17242564/salesforce-api-v28-not-rendering-css-classes-when-rendering-pdf
Sonam_SFDC,
Thanks.
Can you advise how much it will safe to upgrade the version?
Is it reccomand at all?