Hi cadoomunhoz
Thanks for that posting. I tried this but the other way round class after the :
The way I did it, the css was written to the database along with the value which in effect makes the data wrong if it needs to be used for something else.
Can you confirm if your css classes have been written to your database .. maybe I did it all the wrong way round.