You need to sign in to do that
Don't have an account?
Rick MacGuigan
How to add color to the label of an inputField
I can change the text entry color of an inputField . How can I change the lable for this inputField that shows up within the pageBlockSection ?
<apex:inputField id="fieldtest" value="{!a.Other_Policy_term__c}" style="color:red;" rendered="{!a.Policy_Term__c="other" }" />
<apex:inputField id="fieldtest" value="{!a.Other_Policy_term__c}" style="color:red;" rendered="{!a.Policy_Term__c="other" }" />
This code may help:
Important :
If this is what you were looking for then please mark it as a "SOLUTION" or You can Click on the "Like" Button if this was beneficial for you.
<style type="text/css"> redText { color: red; } </style>
<apex:inputField value="{!Account.Name}" label="<redText>Acct Name</redText>"/>