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
DannyK89DannyK89 

Indent fields

I would like to indent some fields over but everytime I try they end up in the middle of the screen. Is there a command that can indent the apex:inputfield and apex:inputsecret field over. Here is what I have so far.

 

 

<apex:pageBlockSection title="User Information">
                <apex:outputLabel value="UserName" for="Username">
                    <br/>
                    <apex:inputField id="Username" value="{!referee.UserName__c}"/>
                Should be in the form of an email adress
                </apex:outputLabel>
                <br/>
                <apex:outputLabel value="Password" for="Password">
                    <br/>
                    <apex:inputSecret id="Password" value="{!referee.Password__c}"/>
                    Should be at the most 8 characters long
                </apex:outputLabel>
            </apex:pageBlockSection>

 

 

Dovid BDovid B

try using CSS with a span tag or styleClass attribute for your inputfields.