2

I have a visualforce page which i am rendering as a pdf.

<apex:pages>
        <style>
          .cke_contents {
          height: 100px !important;
             }
        </style>
</apex:pages>

problem here is when I render the page as pdf , then pdf has below code visible on top of the page

.cke_contents {
          height: 100px !important;
             }

How can I hide this style code in PDF?

1 Answer 1

3

Use the <apex:page> attribute applyBodyTag="false".

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .