You need to sign in to do that
Don't have an account?
Harsha Shri
Make Visualforce page as responsive design
Hi All,
I have developed a VF page by using standard controller. I have alignment issue. Please see below image.
If you see above image Account name and produ order number are not in same line.
I want to make all elements in the above visualforce page as responsive desing. even I minimize screen also, I dont want to distract the fields.
Please help me how to make this as responsive
Thanks in Advance
I have developed a VF page by using standard controller. I have alignment issue. Please see below image.
If you see above image Account name and produ order number are not in same line.
I want to make all elements in the above visualforce page as responsive desing. even I minimize screen also, I dont want to distract the fields.
Please help me how to make this as responsive
<apex:page standardController="Account" showHeader="true"> <apex:form > <apex:sectionHeader title="title1"/> <apex:pageBlock title="title2" tabStyle="account"> <apex:pageBlockSection title="PBS2" collapsible="false" id="myPbSec2" columns="2"> <apex:outputField value="{!account.name}"/> <apex:outputField value="{!account.description}"/> <apex:outputPanel > <span style="margin-left:102px"><apex:outputLabel value="Produ Order Number"/><span style="margin-left:18px"><apex:inputtext label="" id="ST"/> <apex:commandButton value="Button1!" /></span></span> </apex:outputPanel> </apex:pageBlockSection> </apex:pageBlock> </apex:form> </apex:page>
Thanks in Advance
To make VF page responsive, I suggest to use SLDS.
https://www.lightningdesignsystem.com/platforms/visualforce
Here is a kind of sample
Best Regards
Sampath
All Answers
Try below code
Thank you very much for your response.
As I swown in above image, I want button should be next to inputtext. Can you please help me in that
To make VF page responsive, I suggest to use SLDS.
https://www.lightningdesignsystem.com/platforms/visualforce
Here is a kind of sample
Best Regards
Sampath