TOC PREV NEXT INDEX

domref



align


Specifies how the IFRAME is to be aligned in the containing element.

Syntax

sAlign = iFrameElement.align
 
iFrameElement.align = sAlign
 

Parameters

sAlign is a string with one of the values given in the Notes section below.

Example

i = document.getElementById("first-frame");
 
i.align = "top";
 

Notes

Possible values for align are "top", "middle", "bottom", "left" and "right." The latter two cause the IFRAME to float to the current right or left margin. The default value for align is bottom. The align attribute is deprecated in HTML 4.0

Specification

DOM Level 2 -- HTMLIFrameElement


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT INDEX