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

Multiline not displaying correctly in FF

1 Answer 48 Views
Input
This is a migrated thread and some comments may be shown as answers.
L
Top achievements
Rank 1
L asked on 29 Sep 2014, 05:08 AM
hi

This my code:
  
<telerik:RadTextBox ID="RadTextBox1" Runat="server" Resize="None" Rows="1" TextMode="MultiLine" Width="160px"> </telerik:RadTextBox>

As you can see, the Rows attribute is set to 1, which means it should display as 1 row in the browser. But it is not getting it right in FF 32.0. It works fine in IE 11 and chrome.

How do i solves this? Thanks a lot.

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 02 Oct 2014, 07:13 AM
Hello,

This is a browser related behavior and you can use the following approach to remedy it:
<telerik:RadTextBox ... Height="22px">
CSS:
<style type="text/css">
    span.RadInput {
        vertical-align: top;
    }
</style>

Hope this helps. Please give it a try and let me know about the result.

Regards,
Eyup
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Input
Asked by
L
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or