function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
rtyanasrtyanas 

pageBlock sizing

In my VF there is a pageBlock that has data which is updated with information from a database depending on the users selection.  Depending on the user's selection the page may change size (width and length)  I am trying to keep this size constant and also add a scroll bar if the length is longer than the page.

I don't see a width, height option in the apex:pageBlock Standard Component Reference is there a way to define this in the apex:page definition?

Thanks.

Chamil MadusankaChamil Madusanka

Wrap your pageblock with a outputPanel. Then you can apply a styleclass for the outputPanel

 

If you got the answer from this post, Please hit the Kudos button & mark the answer as solution, It might help others running to into similar problem in future.