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
visualforce_devvisualforce_dev 

change header background color of pageblocksection

Hi all,

 

i have 4 pageblocksections and i want to color those headers in different colors..

 

i am using this code,but all sections r taking the same color.

<style type="text/css"> .bPageBlock .pbBody .pbSubheader .g

{ background-color:#FF0000; } .bPageBlock .pbBody .pbSubheader .s

{ background-color:#F88017; } </style > then i trd <div class="g"> <pagebloc section> ---\ </div>

 

please help me..