173
rated 0 times
[
176]
[
3]
/ answers: 1 / hits: 33342
/ 13 Years ago, tue, may 3, 2011, 12:00:00
How can I change font size to 30px (for example) using document.execCommand
?
This:
document.execCommand(fontSize, false, 30px);
doesn't work, because in 3rd argument of the function execCommand, it only allows me to input a value between and including 1 to 7.
More From » editor