2013-06-30 24 views
0

我正在構建一個visualforce頁面,我必須在pageblocksectionitem內製作一個visualforce頁面,就像我在代碼中顯示的那樣。我對css的瞭解不多.my代碼是如何使apex:pageBlockTable大小爲全屏大小

<apex:page standardController="Account"> 
<apex:pageBlock title="My Content"> 
<apex:pageBlockSection> 
<apex:pageBlockSectionItem> 
<apex:pageBlockTable value="{!account.Contacts}" var="item"> 
<apex:column value="{!item.name}"/> 
</apex:pageBlockTable> 
</apex:pageBlockSectionItem> 
</apex:pageBlockSection> 
</apex:pageBlock> 
</apex:page> 

它顯示錶格寬度小於屏幕寬度的一半。我對css不太瞭解,但是當我設置style:{width:250%}時,它的寬度越來越大,所以我必須設置多少百分比寬度將等於頂點:pageblocktable沒有被頂點包圍:blockSection和apex:pageBlockSectionItem或任何其他請指南

回答

6

添加到pageBlockSection col umns =「1」

<apex:pageBlockSection columns="1"> 
相關問題