Just a quick tip, it's been a long time! I've been sick and busy, which is definitely not a good combination...
Making the first column right-aligned
Suppose you need to make the contents of the first column right-aligned. An easy way to do this (assuming you have a special class/id for the table) is to use the first-child selector:
Making the first column right-aligned
Suppose you need to make the contents of the first column right-aligned. An easy way to do this (assuming you have a special class/id for the table) is to use the first-child selector:
table.mytable tr td:first-child {
text-align: right;
}
Comments