HTMLTableElement.align

Desaprobado

This feature has been removed from the Web standards. Though some browsers may still support it, it is in the process of being dropped. Do not use it in old or new projects. Pages or Web apps using it may break at any time.

La propiedad HTMLTableElement.align representa la alineaci贸n de la tabla.

Sintaxis

HTMLTableElement.align =alignment;
varalignment =HTMLTableElement.align;

Par谩metros

alignment Desaprobado HTML4
alignment es una cadena con uno de los siguientes valores:
  • left
  • center
  • right

Ejemplo

// Establecer la alineaci贸n de una tabla
var t = document.getElementById('TableA');
t.align = 'center';

Especificaci贸n