Line-height - in firefox and ie

3 posts, 0 answers
  1. Per Hoyer Stensnaes
    Per Hoyer Stensnaes avatar
    5 posts
    Member since:
    Sep 2009

    Posted 21 Sep 2009 Link to this post

    Im running IE7.0 an Firefox 3.5, and im experiencing a WIERD problem. If I in plain notepad create a html-file and enter a lot of text inside a <font style="line-height:15px;font-family:verdana;font-size:10px"> A lot of text </font> i find that IE and firefox shows the text excactly alike.
    If i copy this tag with its containing text into telerik for moss 4.5 the lineheight differs - quite a bit - firefox shows something like 18px while ie shows it as its supposed to.
    Making a little experiment. en my offline local htm file - if i change line-height:15px, to line-height:0px both browsers shows all text lines on top of each other - only showing one single line (not very userfriendly though :-)
    If i do the same in telerik rad editor for moss - ie still shows all lines in one while nothing happens in firefox. Why is this? and can i do anything about it?
    As said, firefox and ie responds completely alike if the code is run outside telerik from a simple htmlfile only containing the font-tag and its contained text, but something happens to firefoxs interpretation of the style when created in telerik rad editor for moss.

    could anyone plz help - this i a big showstopper for me... :-(

  2. Stanimir
    Stanimir avatar
    1654 posts

    Posted 25 Sep 2009 Link to this post

    Hi Per,

    Unfortunately I was not able to reproduce the issue. For your conveniences I attached a small video with my test. Please inform me if I am doing any thing wrong. Also you can check the decoration of the test text by debugging tools such as IE developers toolbar for Internet Explorer and Fire Bug for FireFox.

    Sincerely yours,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Per Hoyer Stensnaes
    Per Hoyer Stensnaes avatar
    5 posts
    Member since:
    Sep 2009

    Posted 05 Oct 2009 Link to this post

    Thanks very much for the reply and your time, i found that a style high above in the hieracy was causing the troubles. So... bottomline: it works as its supposed to now. Happy happy me
Back to Top