Propiedad align del DOM HTML
Definición y uso
La propiedad align se puede configurar o devolver cómo alinear el iframe en función del texto circundante.
Sintaxis
iframeObject.align=left|right|top|middle|bottom
Ejemplo
El siguiente ejemplo colocará el iframe alineado a la derecha según el texto circundante:
<html>
<body>
<iframe src="frame_a.htm" id="frame1"></iframe>
<p>Alguno de texto. Alguno de texto. Alguno de texto. Alguno de texto.</p>
<script type="text/javascript">
document.getElementById("frame1").align="right";
</script>
</body>
</html>