The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS CSS and "traffic-lighting" values in a table Re: CSS and “traffic-lighting” values in a table

"mat" wrote:
CSS can’t do this you would need to use somthing like PHP;


For the scores i used php to determine weather the number was over 16, under 16 or 16 and then applied 3 different styles depending on the value.

If you want the code then message me, but the data is pulled from a msql database table so i dont know weather or not u know how to create any of this ?

Hi Mat – thanks for your reply –
Great! Yes, please, I’m keen to have the code – thanks! I’ll be fine – I’ll be able to figure out all of the bits and pieces.
I’ll message you with my email address. Oh, btw – can I credit you in the acknowledgements when I merge this with my app?
Bye for now –
– latte