Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.
An element that renders its children on top of each other. The first element is placed on the bottom and each successive child is placed above the previous. All elements are displayed at once. Child elements may also be placed at absolute positions within the stack.
The top, right, bottom, and left attributes on a child of the stack specify the position of that element.
The bottom and right attributes can also be used in conjunction with top and left to set the width and/or height of the children of the stack.
Note that bottom and right attributes, unlike rect, are relative to the bottom and right of the stack.
When using these attributes to set width or height, both attributes for the given axis must be explicitly set, eg, if setting width, both "left" and "right" must be set.
In some case, setting the width or height this way may even be necessary because using the width/height attributes (eg, "width", "minwidth" and "maxwidth") inside a stack can sometimes produce unpredictable and undesireable results.
More information is available in the XUL tutorial.