javascript EMBED units
@March 15, 2008, 1:22 a.m.
units | Firefox/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 |
Permanent URL:
http://javascript.gakaa.com/embed-units.aspx
Powered by Linode.