Salesforce 如何将apex:pageBlockTable大小设置为全屏大小

Salesforce 如何将apex:pageBlockTable大小设置为全屏大小,salesforce,apex-code,visualforce,Salesforce,Apex Code,Visualforce,我正在构建一个visualforce页面我必须在pageblocksectionitem中创建一个visualforce页面,就像我在代码中显示的那样。我对css不太了解。我的代码是 <apex:page standardController="Account"> <apex:pageBlock title="My Content"> <apex:pageBlockSection> <apex:pageBlockSectionItem> <a

我正在构建一个visualforce页面我必须在pageblocksectionitem中创建一个visualforce页面,就像我在代码中显示的那样。我对css不太了解。我的代码是

<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,但当我设置样式时:{width:250%}然后它的宽度增加了,我必须设置它的百分比,这样它的宽度将等于apex:pageblocktable,而不被apex:blockSection和apex:pageBlockSection项或任何其他选项包围,请参考

添加到pageBlockSection列=1

<apex:pageBlockSection columns="1">