You need to sign in to do that
Don't have an account?

Colour not changing / no errors in code
Any reason why my code is not displaying the colour?
I want the colour to appear red when it is an appointment and yellow if it is a diary booking:

Here is my code:

I want the colour to appear red when it is an appointment and yellow if it is a diary booking:
Here is my code:
Hi Faizan,
You're using styleClass in <td>, which won't work since it's a visualforce attribute.
Just change styleClass to class as below, and it will work
Hope this helps!