Skip to main content
Hi,

1) I am just starting with VF and apex.

2) I am working on a VF page that is a script for our telesales department.  The language has to be used when working with a new enrollee.   The script is formatted much like a letter with paragraph indentations:

      1,  Start of statement number 1....end.

               a.  If this situation applies...end.

                       (a)  And this is a subset.

At this time I am defining a group of classes of <p> as

      p.indented {padding-left: 20pt;}

      p.indentedOne {padding-left: 50pt;}, etc.

This works beautifully for the first two pages, then simply stops working.  From that point on all the paragraphs line up at the left margin.  Here is the code:

works:                <P CLASS="indentedThree"> <i>If we don’t receive your voided check, your payment option will default to the “direct bill” option and you will get a bill each month.</i></p>

works:                <P CLASS="indentedThree"><i> In the event that we are notified that you have a Part D late enrollment penalty and you have not  selected a payment option, your payment option will default to the “direct bill” option and you will get a bill each month.</i></p>       

 

Doesn't work from here on:

        <p CLASS="IndentedFour">Select the Option:   <apex:inputField value="{! account.Part_C_Premium_Option__c}"/></p>                            

        <p CLASS="IndentedTwo"><i>After member chooses an option, document and please read the following statement:</i></p>

Is this a language limitation?  Is there a problem in the code I've missed?  Should I be using another approach to this formatting?  Could anyone direct me to a good example of how this best works?

Any help is appreciated,

Thank you,

RickVF Pages are there any limits on the use of p.indented {padding-left...?

 
1 件の回答
  1. 2015年11月21日 5:55
    It really depends on how you have your VIsualforce page setup.  Can you post your page?  (remember to use the "< >" button to format it so we can read it!)