Hi Guys,
I have a question about CSS. I have a class called .cal_event
This basically controls the formating within a calendar for me.
I want to duplicate this so that I have four variations of this class

Each of these are the same apart from the background colour.

Within my HTML I want to reference these classes so I have the row

<td class="cal_event${ITSEQ}">

The end of this row${ITSEQ} is a field in my database that shows a set of initials. Eg AB, CD, ED or GH.

So in theory, if my data shows a record with the ITSEQ = EF it should use the correct class for that.

The problem is I think my line of code is incorrect as it doesn't seem to work.

Any ideas?

<td class="cal_event${ITSEQ}">