Javascript Reference
Categories: BASEFONT

javascript BASEFONT size

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

Read/Write  

Provides the size of the font in the 1-7 browser relative scale.

 
Example
 
document.getElementById("myBaseFont").size = "+1";
 
Value

Either an integer (as a quoted string) or a quoted relative value consisting of a + or - symbol and an integer value.

 
Default

3


Powered by Linode.