[Project_owners] Wrapping XUL elements

eric.jung at yahoo.com eric.jung at yahoo.com
Fri Jun 22 09:46:16 PDT 2007

>>Both the <label> and <description> elements support wrapping text. 
Simply set the text as the .textContent rather than as the .label, or in 
the XUL as <description>This text will wrap</description>. Note that 
they prefer not to wrap, so you typically need a max-width style to 
force the issue.<<

I didn't know about that. Neil, should I update http://developer.mozilla.org/en/docs/Code_snippets:Label_and_description with this info?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mozdev.org/pipermail/project_owners/attachments/20070622/8412ea39/attachment.html 

More information about the Project_owners mailing list