input text alignment right?

if I have numbers in my input form, I would like to align them at the right side of the input text field; but I don’t manage to do it … I am able to set the alignment of the label, but didn’t find a way to set the alignment of the input textbox; I also tried “className” setting the alingment on the css, but it doesn’t seem to work at all;
what am I missing?

Hi

myForm.getInput(id).style.te4xtAlign = “right”;

*textAlign

wow! works great … thank you very much!