Treehouse: Grow your CSS skills. Land your dream job.

Line becomes higher when using sup TAG

  • # June 28, 2012 at 7:36 pm

    Please see this example: http://jsfiddle.net/A24qm/3/

    I try to use line-height but don’t apply like I want. Need to display with same height.

    It is possible to solve the problem without using the position property?

    # June 28, 2012 at 7:51 pm

    This should fix it:

    sup {
    line-height: .1;
    }​

    Also, you don’t need to use a value for line-height (i.e. 1.2 is fine).

    # June 28, 2012 at 9:06 pm

    Thanks joshuanhibbert.

    http://jsfiddle.net/A24qm/4/

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.