Posted by jodleren on 12/22/07 22:46
Hi
I have this (see code below).
Point: I want the bar to be aligned in the middle of the text, even
when with superscript.
The problem is, that the content in the 2nd <td> is top aligned at all
times.
Superscript is somewhat higher than normal text, but the following ts
does not align as I want it to. Can anyone help me here?
I have a dummy gif 14 pixels high 1 wide. Any gif can be used for
testing.
WBR
Sonnich
<table border="0" cellpspacing="0" cellpadding="0">
<tr><td valign="middle"><b>Day</b> </td><td
valign="middle"><b>Amount</b></td></tr>
<tr><td valign="middle">December 22<sup>nd<sup> </td><td
valign="middle">
<p><img src="graphics/bar.gif" height="14" width="125" alt="">
(125)</p>
</td></tr>
<tr><td valign="middle">December 21<sup>st<sup> </td><td
valign="middle">
<p><img src="graphics/bar.gif" height="14" width="33" alt="">
(33)</p>
</tr></table>
</td></tr>
</table>
[Back to original message]
|