You need to sign in to do that
Don't have an account?
zjlg
The CSS is not useful in my salesforce system, pls come in and give me an idea
The part of codes are my visualforce page code:
<apex:page controller="client_Controller" tabStyle="account">
<style>
.errorMessage{ color: red; font-weight: strong;}
</style>
<apex:messages styleClass="errorMessage"/> //this code is for display the error messages,and i
wanna make the font color red
</apex:page>
the result is the font color is still black,why?can you tell me how??
Try this . . .
<Center><font color="red" style="font-weight:bold"><apex:messages /></font></center>
All Answers
Hi Zjig,
As if now.. I can suggest you to reomve the .(Dot) from the class Name If you are not using the Nesting CSS... . and You can use the Firbug to Inspect the element . It will give you clear understanding of the element .
Dear Evolve,
Can you give me a CSS sample? I just wonder how to make it effectual...
Try this . . .
<Center><font color="red" style="font-weight:bold"><apex:messages /></font></center>
Thank you so much, actually,my code is right and your code is right too, thanks again!!