• tonton tv
  • NEWBIE
  • 0 Points
  • Member since 2023

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies

I have very simple VF Page rendered as a pdf with a section where I set inline style with margins using the following code:

 

<div style="margin-left:250px; margin-top:250px;">
 <apex:panelGrid columns="1" width="100%" >                       
    
        <apex:outputText value="Some Text" id="some text"/>
                
</apex:panelGrid>
</div>

 

The margin left property worked, however the margin-top property did not.  Could someone shed some light on this?

 

Thanks!