javascript - Font size of a variable in Form -


how can change font size of variable in html?

<form name=pad> .. <script> function rndize() {     alpha = "abcdefghijklmno ";     (i = 0; < 16; i++) {        x = 0;        y = 0;        while (document.pad.elements[4 * y + x].value != " ") {           x = math.floor(math.random() * 4);           y = math.floor(math.random() * 4);        }        document.pad.elements[4 * y + x].value = alpha.substring(i, + 1);     }     bx = x;     = y; } rndize(); </script> .. </form> 

how can change font size of alphabet? coming normal abcd only. how change size of variable?

you can write document.pad.elements[4 * y + x].style.fontsize='12px'; or similar.


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -