views:

46

answers:

2

I need to put something like a Textarea into a "box" element in Xul. It needs to be multiline. It's for an explanation frame.

Is that possible? I can't find anything on the MDC official site.

A: 

Check out the description element.

StackedCrooked
A: 

You can use a "textbox" element to create both text fields and text areas (multiple lines) in XUL. To create a text area just set the multiline attribute.

From https://developer.mozilla.org/en/XUL_Tutorial/Input_Controls:

<textbox multiline="true"
         value="This is some text that could wrap onto multiple lines."/>
fms