twilitegxa Posted August 17, 2009 Share Posted August 17, 2009 How do I right align a column without setting a class and adding the class to every td? I think someone has told me how to do this before, but I can't remember how. The column is all whole numbers with no decimals. Is there a way to do this? Quote Link to comment Share on other sites More sharing options...
satya123 Posted August 17, 2009 Share Posted August 17, 2009 You can set column property as td {text-align:right} in CSS. It will align right all the text right by default. Quote Link to comment Share on other sites More sharing options...
haku Posted August 17, 2009 Share Posted August 17, 2009 I don't think you can do this without adding a class to each of the tds in the column. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.