Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Line becomes higher when using sup TAG

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #38691
    nhereveri
    Member

    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?

    #105034

    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).

    #105041
    nhereveri
    Member

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

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.