This is a migrated thread and some comments may be shown as answers.

Line-height - in firefox and ie

2 Answers 59 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Per Hoyer Stensnaes
Top achievements
Rank 1
Per Hoyer Stensnaes asked on 21 Sep 2009, 02:15 PM
Hi.
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... :-(

Regards

2 Answers, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 25 Sep 2009, 07:06 AM
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,
Stanimir
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.
0
Per Hoyer Stensnaes
Top achievements
Rank 1
answered on 05 Oct 2009, 08:24 PM
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
Tags
WebParts for SharePoint
Asked by
Per Hoyer Stensnaes
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Per Hoyer Stensnaes
Top achievements
Rank 1
Share this question
or