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
Mahesh ShekarMahesh Shekar 

How to rotate a text to 90deg in pdf

I am trying to use CSS to rotate the text and works well normally. but when try to render AS pdf, the CSS for rotate will break.

Can anyone suggested, that how to resolve the issue.

.textRotate {
                /* Safari */
                -webkit-transform: rotate(-90deg);
                
                /* Firefox */
                -moz-transform: rotate(-90deg);
                
                /* IE */
                -ms-transform: rotate(-90deg);
                
                /* Opera */
                -o-transform: rotate(-90deg);
                
                float: left;
                    position:absolute;
                background:green;
            }

Nisar AhmadNisar Ahmad
Hi Mahesh,

Please try writing this code in the head section.
<head>
     </style>
            //css..
      </style>
</head>