+ Start a Discussion
sfg1sfg1 

Alignment of fields in visualforce page, left,right,center

I want to align fields in visuaforce page left and right .If i use below code it is moving completly to right


<apex:panelGrid columns="2">
<apex:outputlabel value="Available charts" id="first" style="float:right;"/>
<apex:outputlabel value="Samples" id="sec" style="text-align:right"/>
</apex:panelGrid>
I want to design visuaflorce page based below attachment.Please guide me.Attachement
 
Rahul KumarRahul Kumar (Salesforce Developers) 
Hi,
May I suggest you please refer the below link for reference on Alignment of fields in the visualforce page. Hope it will be helpful.

Please mark it as best answer if the information is informative.so that question is removed from an unanswered question and appear as a proper solution.

Thanks
Rahul Kumar