My site reads a XML file that contains information (values) for a data-table. I use CSS to style the table and everything works fine.
To get a better user-experience
It may be possible to do this using CSS expressions, but this is non-standard and IIRC only works in Internet Explorer. So I'd advise against it.
Doing this server-side or using JavaScript are your best bets.