[thelist] numeric alignment

John Allsopp john at johnallsopp.co.uk
Fri May 23 14:53:07 CDT 2008


Is there a CSS way of saying if the content of my td is text, left align 
it, if it's a number, right align it, or align it to the decimal point?

I'm thinking not, so I guess I'm going to have to td class='number' all 
of the number contents. The numbers are in columns, but there are a 
couple of colspanned headers.

It all seems very un-CSS-like to me. What's my best approach?


More information about the thelist mailing list