I have an HTML table with large number of rows, and I need to right align one column.
I know the following ways,
..
-
This doesn't work in IE6, which may be an issue, but it'll work in IE7+ and Firefox, Safari etc. It'll align the 3rd column right and all of the subsequent columns left.
td + td + td { text-align: right; }
td + td + td + td { text-align: left; }
- 热议问题