I have a Suitelet that will be logged into anonymously. The fields display small. On inlinehtml fields I can override the size but on the various text box fields and submit button I cannot find any way to increase the font size.
Here is a portion of code:
var form=nlapiCreateForm('AGA Secure Payment Center',false);
var groupIntroduction = form.addFieldGroup('custpage_group_intro', 'Introduction');
groupIntroduction.setLabel('');
var groupPrimary = form.addFieldGroup('custpage_group', 'Primary');
groupPrimary.setSingleColumn(true);
groupPrimary.setLabel('');
var introduction='<head><style> ';
introduction=introduction + 'h1 { font-size: 30px; color: rgb(15,75,125); } ';
introduction=introduction + 'h2 { font-size: 25px; color: rgb(15,75,125); } ';
introduction=introduction + 'h3 { font-size: 20px; padding-left:100px; color: rgb(15,75,125); } ';
introduction=introduction + 'body { font-size: 15px; color: rgb(15,75,125); } ';
introduction=introduction + '</style></head>';
introduction=introduction + '<h1>Sample heading 1</h1><h2>Sample heading 2</h2><h3>Sample heading 3</h3>';
var IntroductionField=form.addField('custpage_introduction', 'inlinehtml', '', null, 'custpage_group_intro');
IntroductionField.setDefaultValue(introduction);
var FileNumber=form.addField('custpage_file_number','text','File Number', null, 'custpage_group');
FileNumber.setDisplaySize(39,1);
FileNumber.setMandatory(true);
When I apply h1, h2 or h3 to an inlinehtml field, it displays properly. The "body" style applies the color change to the File Number label but the "font-size" is unchanged.