Please enable JavaScript to view this site.

Navigation: Advanced topics > Events > Sample events > Appearance

Change the font size in a text box

Scroll Prev Next More


To change the font size in all text boxes placed on a page, use the following code in the JavaScript OnLoad event.



$("input[type=text]").css('fontSize', '120%');

See also:

Customizing CSS

Rich Text Editor plugins

"Edit as" settings: Text field

"Edit as" settings: Text area

JavaScript API