Jul 22, 2011, 1:42 PM
DisplayField with Multiline Input
Hi all, please excuse the noddy nature of this query, but I was wondering if there is a way to instruct a displayfield to render text on several lines.
I've tried inserting <br>'s or \n's with no joy.
I did switch the control to a textarea, but if I try to fiddle the formatting on this control I get a weird 10px gap at the top, so I've discounted that as an option for the time being.
Is there are easy way to make a displayfield render multiline output, or format a textarea with a background colour, that avoids the odd gap I'm seeing at the top?
Cheers,
Doug
I've tried inserting <br>'s or \n's with no joy.
I did switch the control to a textarea, but if I try to fiddle the formatting on this control I get a weird 10px gap at the top, so I've discounted that as an option for the time being.
Is there are easy way to make a displayfield render multiline output, or format a textarea with a background colour, that avoids the odd gap I'm seeing at the top?
Cheers,
Doug