Javascript Reference
Categories: FRAMESET

javascript FRAMESET border

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

Read/Write  

Thickness of the spaces between frames in a frameset in pixels. Only the outermost frameset element of a system of nested framesets responds to the border property setting. Internet Explorer treats the default thicknesses for Windows and Macintosh differently, so be aware that the same value may look different on each operating system platform.

 
Example
 
top.document.getElementById("myFrameset").border = 4;
 
Value

An integer value. A setting of zero eliminates the border entirely. While the value is supposed to represent the precise pixel thickness of borders in the frameset, this is not entirely true for all operating systems or browsers.

 
Default

6 (IE Windows); 1 (IE Mac).


Powered by Linode.