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
jbozajboza 

Format margins

I would like to set this with a margin of 5% but an unsure. I say this because the rest of the code has a 5% margin. Here is what I need set to a margin.

 

<div align="left" width="550px">
        <h1 style=" font-family:Georgia; font-size: 15px; color:#000000;margin:0px; padding:30px">***Legal Email***</h1>
    </div>  
    <div align="left" width="450px">
         <apex:outputtext escape="false" value="{!tsk.Description}"></apex:outputtext>      
           </div>

Vinita_SFDCVinita_SFDC

Hello,

You can use attribute "cellpadding", the value of this attribute is a pixel length, all four margins are this distance from the contents. If the value of the attribute is a percentage length, the top and bottom margins are equally separated from the content based on a percentage of the available vertical space, and the left and right margins are equally
separated from the content based on a percentage of the available horizontal space.

 

Refer: http://www.salesforce.com/us/developer/docs/pages/salesforce_pages_developers_guide.pdf