[Project_owners] Wrapping XUL elements

Philip Chee philip.chee at gmail.com
Fri Jun 22 08:57:44 PDT 2007


On Fri, 22 Jun 2007 16:44:39 +0200, Neil Deakin wrote:
> Christopher Finke wrote:

>> I need to wrap a set of XUL elements though, not text.  Imagine a box
>> with 100 button elements in it.  I want the buttons to wrap to
>> multiple rows once they reach the right edge of the box, not force the
>> box to expand.

> There isn't an official way to do this. Currently, however you could put 
> the elements inside an element with display: block and you will get the 
> desired effect. This technique won't necessarily work in the future though.

Hmm. How about using a <xhtml:div/>

Phil

-- 
-==-
Philip Chee <philip at aleytys.pc.my>, <philip.chee at gmail.com>
http://flashblock.mozdev.org/ http://xsidebar.mozdev.org
Guard us from the she-wolf and the wolf, and guard us from the thief,
oh Night, and so be good for us to pass.



More information about the Project_owners mailing list