Javascript Reference
Categories: APPLET

javascript APPLET align

@July 28, 2009, 8:19 a.m.
align Firefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1  

 

Read/Write  

Defines the alignment of the element within its surrounding container. Only partially implemented in Netscape 6.2.

 
Example
 
document.getElementById("myApplet").align = "center";
 
Value

Any of the alignment constants: absbottom | absmiddle | baseline | bottom | left | middle | right | texttop | top.

 
Default

left


Powered by Linode.