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
ASE 8ASE 8 

I am trying following code for changing the color of the page but doesnt work, can anyone pls help:

<apex:page showheader="false" sidebar="false" standardController="Event_Registration__c" extensions="ASE_ConfirmEmailReg" >
<style>
    .myFormStyle{
      background-color: blue;
    }
    .button1
{
background-color:#00FF00;
font-weight:bold;
color:#E56717;
}
</style>
 <div id="InnternalDiv" style="width:100%;">
 <apex:image url="{!headerUrl}" width="100%" height="50px" />
           <apex:pageMessages /> 
    <apex:form styleClass="myFormStyle">
              <br> </br> <br></br> <br></br> <br></br> <br></br> <br></br> <br></br>
                    <h1>
                        <div align="center">        
                            <apex:commandButton styleclass="button1" disabled="{!(!IF(isDisabled=true,false,true))}" action="{!getregisterEvent}" value="Verify"/> 
                        </div> 
                     </h1>
           </apex:form> 
    </div>
</apex:page>
Derek M HughesDerek M Hughes

Hi,

You can just include this in your page:

<style>
        body {
        background-color: blue;
        }
</style>


REgards

Derek

ASE 8ASE 8
Thanks Derek, it worked :)
Derek M HughesDerek M Hughes
You're welcome.  Please mark my answer as the best answer!  Thanks.