Name
size — NN n/a IE 4 DOM 1
Synopsis
Read/Write
The size of the font in the 1-7 browser relative scale. For more
accurate font size settings, see fontSize
in Chapter 10.
Example
document.all.fontSpec2.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
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.