Salesforce

Salesforce

How to align right in Visualforce page?

Sample Code: <apex:page showHeader="false" controller="Sample" ><apex:form >    <apex:panelGrid columns="1" style="float:right;">        <apex:commandButton value="One"/>        <apex:commandButton value="Two"/>        <apex:commandButton value="Three"/>        <apex:commandButton value="Four"/>        <apex:commandButton value="Five"/>    </apex:panelGrid></apex:form>     </apex:page> Output:

Salesforce

How to read Rich Text fields in Salesforce?

Sample Code:Visualforce page:<apex:page showHeader="false" controller="Sample" ><apex:form >    <apex:pageBlock >        <apex:pageblockTable value="{!EmpList}" var="E">            <apex:column value="{!E.Name}"/>            <apex:column value="{!E.Photo__c}"/>        </apex:pageblockTable>    </apex:pageBlock></apex:form>    </apex:page>Apex Controller:global class Sample {        public List<Employee__c> EmpList {get;set;}       public ....