Menu

#2 Superscript & Subscript not handled correctly

v0.4
open
benj
Layout (13)
5
2005-05-19
2005-05-19
benj
No

vertical-align in general isn't handled too well for
many elements. See:
http://www.w3.org/TR/CSS21/visudet.html#propdef-vertical-align.
This needs to be supported correctly.

Discussion

  • Martijn

    Martijn - 2007-03-05

    Logged In: YES
    user_id=1736076
    Originator: NO

    Any updates on this issue?

    In the mean time, I found a small workaround for those who can't live without the sup-tag. Perhaps it's handy so I'll post it here:

    /* I used this for a sup on a 10pt font, default line-height */
    sup {
    font-size: 6pt;
    line-height: 12pt;
    }

    It worked quite well for me, but perhaps there are better workarounds available.

    Also, I noticed that setting the margin to auto makes the sup jump to the right height, but it seems that it loses it width or something at the same time. So all text entered after the sup will be rendered through the text in the sup.

     
  • Nobody/Anonymous

    For sub:

    sub {
    font-size: 6pt;
    }

     

Log in to post a comment.

MongoDB Logo MongoDB