window.ftSetCSSElement(fldID, applyTo, className);
This JS function will allow you to set the style of an element in the form (to the label, to the element or to all of the parts).
For example:window.ftSetCSSElement('fld5','Label','redBorder');
// Set CSS for element, applyTo: Label,Element,All
The above code will apply the redBorder class to the label of field with the id of :fld5