Javascript Reference
Categories: EMBED

javascript EMBED units

@March 15, 2008, 1:22 a.m.
unitsFirefox/Netscape/NN n/a IE 4(Win) Chrome/Safari/DOM n/a  

Read/Write  

Specifies the unit of measure for the height and width dimensions of the element. Internet Explorer appears to treat all settings as pixels.

 
Example
 
document.getElementById("myEmbed").units = "ems";
 
Value

Any of the following case-insensitive constants (as a string): pixels | px | em.

 
Default

pixels


Powered by Linode.