Mozilla XUL Element and Script Reference

Contents  Quick Reference

Iframe

An inner frame that works much the HTML iframe element. The src attribute can be used to specify the content of the frame. This content is a separate document. The children of the iframe are ignored.

Attributes:

Attributes inherited from XUL Element


autostretch

In the iframe is placed inside a horizontally oriented box, autostretch determines whether the iframe stretches vertically to fit the given space. For vertically oriented boxes, determines whether the iframe stretches horizontally to fit the given space. Stetching in the opoosite direction is controlled with the flex attribute.

flex

Indicates the flexibility of the iframe. Flexible elements grow and shrink to fit their given space. The actual value is not relevant unless there are other flexible elements with-in the same container. Elements with larger flex values will grow more than elements with lower flex values, at the ratio determined by the two elements.

height

The height of the iframe in pixels. It is recommended to use the CSS height property instead.

left

For elements placed within a bulletinboard, specifies the position of the left edge of the iframe.

top

For elements placed within a bulletinboard, specifies the position of the top edge of the iframe.

width

The width of the iframe in pixels. It is recommended to use the CSS width property instead.