Javascript Reference
Categories: EMBED

javascript EMBED align

@July 28, 2009, 9:11 a.m.
align Firefox/Netscape/NN 6 IE 5(Mac) Chrome/Safari/DOM n/a  

 

Read/Write  

Defines the alignment of the element within its surrounding container.

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

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

 
Default

left


Powered by Linode.