+ Start a Discussion
kito kidkito kid 

customize Pageblock width

As I am using a lot of columns in Page block table, the width of page block table overflow the Page block width.

It looks quite bad as the width of page block is smaller and it appears on behind.


How can make Page block width also adjusted with page block table width?


Hi Kito,


You can set the width height of the page block as shown in the following example:

<apex:pageBlock  title="abcd"><div id="InnternalDiv" style="height:1000px;"></div></apexpageBlock>
Hope this helps!