Javascript Reference
Categories: IFRAME

javascript IFRAME marginHeight, marginWidth

@June 1, 2008, 3:08 p.m.
marginHeight, marginWidth Firefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1  

 

Read/Write  

Control the number of pixels between the inner edge of a frame and the content rendered inside the frame. An adjustment to either property sets the other property to zero, eliminating the default margin provided by the browser. Not reliable in IE 4 for Windows, but operable in all other supported versions.

 
Value

Positive integer value or zero.

 
Default

Varies with browser and operating system.


Powered by Linode.