Hello,
I hope, this is an easy one as well. I want to use a rich text control for a chat. I use a field control and set the display type to text area. Set the display only to "true" and the HTML to on. After 5 recs, the control should show a scroll bar, but this happens only, when the display only is set to false, but then, the HTML code is not show ... Argggghh!
What did I wrong?
Any help would be great.
Manfred
Field control display only and scrollable
Moderators: Jon, Steve, Ian, Dave
-
Pnirff
- Ebase User
- Posts: 21
- Joined: Fri Jan 25, 2013 8:36 am
-
Steve
- Moderator

- Posts: 423
- Joined: Fri Sep 07, 2007 3:44 pm
- Location: Sandy, UK
- Contact:
Hi Manfred,
When the field control is set to display only the HTML written out is different. It will write out a DIV tag instead of an INPUT tag.
You will need to put this in a panel and set a height on the panel in the style attributes. Also you will need to set the CCS property overflow to auto.
The CSS style should look like this for your surrounding panel:
I hope this helps.
Steve
When the field control is set to display only the HTML written out is different. It will write out a DIV tag instead of an INPUT tag.
You will need to put this in a panel and set a height on the panel in the style attributes. Also you will need to set the CCS property overflow to auto.
The CSS style should look like this for your surrounding panel:
Code: Select all
height: 200px;
overflow: auto;
Steve
0 x
-
Pnirff
- Ebase User
- Posts: 21
- Joined: Fri Jan 25, 2013 8:36 am
Who is online
Users browsing this forum: No registered users and 31 guests