I need to rotate the text while exporting to pdf. The same this is working fine in the html page. The css to rotate the text is not working as expected. Please help...
Salesforce's current PDF generation is commonly assumed to be based on Flying Saucer which only claims to support CSS 2.1 and rotate is part of CSS 3. Not all styling that works in your browser will work in the PDF output.
There is mention of a future improved PDF renderer in one of the answers to word-wrap not working with VisualForce PDF generation?. So perhaps in a future Salesforce release the PDF rendering will be more capable.