Thanks for the response. I had figured some of this out when I looked at the default xhtml stylesheet included with Prince.
I added this to our own stylesheet:
tr[valign=top] > td { vertical-align: top; }
tr[valign=bottom] > td { vertical-align: bottom; }
which made the html 'tr' row-level attributes work for the cells. I imagine similar stuff will work for horizontal alignment:
tr[align=left] > td { text-align: left; }
tr[align=right] > td { text-align: right; }
tr[align=center] > td { text-align: center; }
Though I'm not sure how to pass attribute values from html attributes to css, I was hoping the new release's default xhtml stylesheet would reveal this technique. But I don't see anything relevant regarding width. Perhaps this is handled internally by the program and not by translation into css? I'm not sure how to do such translation, or if it is even possible in css.
Can I somehow 'pick up' the values for say, cellpadding, cellspacing, bgcolor, and border, similar to the way the values for alignment are 'picked up' by such as:
tr[align=left]
I did find I could do:
table[border] td { border: 1px solid black; border-collapse: separate; }
table[cellpadding] td { padding: 4px; }
to assign some defaults and get the table borders I wanted, but don't know if it's possible to pick up the actual attribute values so I can create the css accordingly.
I hope my questions are clear, and again appreciate the response. As I said, recoding the tables is not a realistic option for us but getting close to what we want may suffice.