Reply to Superscript (<sup>) and middle alignment in tables

Your name:

Reply:


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>&nbsp;</td><td
valign="middle"><b>Amount</b></td></tr>
<tr><td valign="middle">December 22<sup>nd<sup>&nbsp;</td><td
valign="middle">
<p><img src="graphics/bar.gif" height="14" width="125" alt="">&nbsp;
(125)</p>
</td></tr>
<tr><td valign="middle">December 21<sup>st<sup>&nbsp;</td><td
valign="middle">
<p><img src="graphics/bar.gif" height="14" width="33" alt="">&nbsp;
(33)</p>
</tr></table>
</td></tr>
</table>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация