@mogomuta...
The trouble here is that text-align for use on <colgroups> or <col> isn't part of any W3C standard. So, the standard-compliant browsers have neglected to implement in. IE, because it can't do EVERYTHING wrong, is kind of ahead of the curve in adding it.
But, since all of the modern browsers (to my knowledge, anyway)in their most recent releases now have support for :first-child and sibling selectors, you can indeed do it via CSS.
Keep the inline styles that you have already for IE's sake. For everything else, use the following:
Code:
<style type="text/css">
td:first-child + td + td {
text-align:right;
}
</style>
@Josh...
That would work if there were 2 nested tables within each cell. That's not the case here.
Bookmarks