Is it possible to horizontally align table rows?
What most people will say: "Why do you start a new row if you want the cells to align horizontally?"
My anwser: "I can't control the table structure. I just can't, okay?"
Code:
tr {
display: inline;
}
This looks fine in FireFox, but Internet Explorer 7 aligns the rows vertically. I would prefer not to use JavaScript.
EDIT: Before you start JavaScript-hacking, I already came up with something like this:
String.prototype.replace.call(table.innerHTML,/<\/tr>.*<tr>/,"")