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
kriiyerkriiyer 

Changing the style of a pageBlock element

Hi all,
 
Is it possible to customize the style of an apex:pageBlock element given that there is no style attribute that we can use with apex:pageBlock. For eg. is there a way by which we can include a border on the left hand side of a pageBlock. The default behaviour is that there is no border on the left hand side.
 
Thanks in advance,
Krishnan
BigRobBigRob

Try

 

<style type="text/css">
.bPageBlock .pbBody { background-color:#EEEEEE; }
</style>