You need to sign in to do that
Don't have an account?
Karina Chang
Pageblock width
I have 2 PageBlocks.... currently, each pageblock takes 50% of the screen. Is there a way to control the width of each one?
<apex:pageBlock mode="maindetail" > <p></p>
<apex:pageBlockSection >
<apex:pageBlock mode="maindetail" >
<apex:pageBlockTable value="{!Training_Course}" var="tc" id="pgtable" >
<apex:column >
<apex:commandLink value="{!tc.Training_Class_Name__c}" >
<apex:param name="AID" value="{!tc.ID}" />
</apex:commandLink>
</apex:column>
</apex:pageBlockTable>
</apex:pageBlock>
<apex:pageBlock mode="maindetail" >
<apex:detail subject="{!$CurrentPage.parameters.AID}" relatedList="false" />
</apex:pageBlock>
</apex:pageBlockSection>
</apex:pageBlock>
Thanks!
<apex:pageBlock mode="maindetail" > <p></p>
<apex:pageBlockSection >
<apex:pageBlock mode="maindetail" >
<apex:pageBlockTable value="{!Training_Course}" var="tc" id="pgtable" >
<apex:column >
<apex:commandLink value="{!tc.Training_Class_Name__c}" >
<apex:param name="AID" value="{!tc.ID}" />
</apex:commandLink>
</apex:column>
</apex:pageBlockTable>
</apex:pageBlock>
<apex:pageBlock mode="maindetail" >
<apex:detail subject="{!$CurrentPage.parameters.AID}" relatedList="false" />
</apex:pageBlock>
</apex:pageBlockSection>
</apex:pageBlock>
Thanks!
SalesFORCE_enFORCEr
Put your page blocks inside <div style="width:30%"> and then set the desired width