You need to sign in to do that
Don't have an account?
rebvijkum
change outputtext position on visualforce page
I need to move the text to right side by certain points on visualforce page:
<apex:outputText >At least one Reason is required</apex:outputText>
<apex:outputText >Use Ctrl+Click to select more than One Reason</apex:outputText>
<apex:outputText >At least one Reason is required</apex:outputText>
<apex:outputText >Use Ctrl+Click to select more than One Reason</apex:outputText>
<apex:outputtext style="padding:9pts;">At least one Reason is required</apex:outputText>
try this and mark as best answer if it solves ur problem
The following line of code brought my line of text into the center of the page.
<apex:outputText value="Trying style features" style="font-size:12px;font-weight:bold; position: relative; left: 50%;"></apex:outputText>
Hi Anvith ,
I tried the same as you described ,but its not working
<apex:outputText style="font-size:120px;font-weight:bold; position: relative; right: 50%" value="{!gstvalue}"> G.S.T: </apex:outputText><br/><br/>
<apex:outputText style="font-size:12px;font-weight:bold; position: relative; right: 50%" value="{!sgstValue}"> S.G.S.T: </apex:outputText>
Can you please help me to solve the issue ?..