Jukka K. Korpela wrote:

vertical-align: baseline;
position: relative;
bottom: <some factor>ex;

That looks really cool and simple and seems to fix things nicely. How
come I never thought of that?

Don't know.  What I /do/ know is that the problem drove me crazy
until I hit on that idea.

Are there any hidden problems?

None that I've encountered so far, but that is not to suggest that
there isn't something /really/ nasty waiting to bite when I am
least expecting it :-)

There's the inherent problem that depending on the font characteristics,
the line height, the characters in the text, the font size of the
superscripts, the factors you've chosen, and the phase of the moon, some
subscripts or superscripts might come too close, or even hit, characters
on another line. But that's a risk we need to accept and to prepare for
(especially by setting line-height and other key properties well).

Agreed.

** Phil.
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to