You need to sign in to do that
Don't have an account?
ASE 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>
<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>
Hi,
You can just include this in your page:
REgards
Derek