How can I create a diagonal line from the lower left corner to the upper right corner of any given cell?
To get this
<table>
<tr>
<td class="crossOut">A1</td>
<td>B1</td>
</tr>
<tr>
<td>A2 Wide</td>
<td class="crossOut">B2<br/>Very<br/>Tall</td>
</tr>
</table>
to show this

I don’t know if is the best way, but I can’t do that with CSS. My answer is in jQuery:
http://jsfiddle.net/zw3Ve/13/
or
http://jsfiddle.net/zw3Ve/16/ (with CSS class cleaner)
CSS part:
jQuery code:
The good thing is it works with any width and height of a table cell.
Edit:
I was not happy with the quality of rendering of triangles made with CSS borders so I used the css-rotation. I think this is a better work (and the lines are render better):
http://jsfiddle.net/zw3Ve/21/
(Using -sand-transform is for IE6, so it use is optional.)
Edit2:
The last version has not got support for IE7-IE8 (seems the -sand-transform only works in CSS styles and not in styles written by JavaScript). I made a version with compatibility with old browsers:
http://jsfiddle.net/zw3Ve/23/