+ 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>