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

Your name:

Reply:


Posted by Jukka K. Korpela on 12/23/07 00:54

Scripsit jodleren:

> I have this (see code below).

Post the URL, if you wish to create a constructive discussion.

> Point: I want the bar to be aligned in the middle of the text, even
> when with superscript.

Which bar? Is the bar open? What's your point?

> The problem is, that the content in the 2nd <td> is top aligned at all
> times.

No it isn't.

> Superscript is somewhat higher than normal text,

Huh? You have done something odd. URL, please.

> but the following ts
> does not align as I want it to. Can anyone help me here?

Try wanting something else. Try posting a URL. Try explaining what you
are really doing.

> I have a dummy gif 14 pixels high 1 wide.

Why?

> Any gif can be used for testing.

Maybe, but we still want the URL.

> <table border="0" cellpspacing="0" cellpadding="0">

Try using valid markup. A validator would help you.

> <tr><td valign="middle"><b>Day</b>&nbsp;</td>

Using <b> is a symptom of poor coding. Is this really a heading cell?

> <tr><td valign="middle">December 22<sup>nd<sup>&nbsp;</td><td

No wonder if you have problems - you have two <sup> start tags and no
end tag for either of them.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

[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

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